We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b0d293a + 9645a54 commit 45c21aaCopy full SHA for 45c21aa
src/sql/src/plan/cast.rs
@@ -143,16 +143,10 @@ lazy_static! {
143
casts! {
144
// BOOL
145
(Bool, Explicit(String)) => CastBoolToStringExplicit,
146
- (Bool, Explicit(Jsonb)) => CastJsonbOrNullToJsonb,
147
(Bool, JsonbAny) => CastJsonbOrNullToJsonb,
148
149
//INT32
150
(Int32, Explicit(Bool)) => CastInt32ToBool,
151
- (Int32, Explicit(Jsonb)) => CastOp::F(|_ecx, e, _to_type| {
152
- e
153
- .call_unary(UnaryFunc::CastInt32ToFloat64)
154
- .call_unary(UnaryFunc::CastJsonbOrNullToJsonb)
155
- }),
156
(Int32, Implicit(Int64)) => CastInt32ToInt64,
157
(Int32, Implicit(Float32)) => CastInt32ToFloat32,
158
(Int32, Implicit(Float64)) => CastInt32ToFloat64,
@@ -198,7 +192,6 @@ lazy_static! {
198
192
e.call_binary(s, BinaryFunc::CastFloat64ToDecimal)
199
193
}),
200
194
(Float64, Explicit(String)) => CastFloat64ToString,
201
- (Float64, Explicit(Jsonb)) => CastJsonbOrNullToJsonb,
202
195
(Float64, JsonbAny) => CastJsonbOrNullToJsonb,
203
196
204
197
// DECIMAL
0 commit comments