You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge?
There are some gaps between our Operator and BinaryOperator from sqlparser, where some of them are useful.
This ticket is not intended to align the gap between Operator and BinaryOperator. But to include those might-helpful operators with sqlparser as the reference. And further implement some of them (which means leaving another part just a placeholder, and even not included).
We can categorize our current Operators into three parts: fully supported (like AND/OR), included but not supported (like @>) and not included. This ticket focuses on extending the first two parts. And for some operators, it may take a relatively long time to fully support them. Like those for JSON operation. The meaning of listing them here is for rough progress tracking, and to push them into the "included but not implemented" stage for downstream projects to easily extend their version.
Describe the solution you'd like
Here is a table of various operators and their status:
Is your feature request related to a problem or challenge?
There are some gaps between our
Operator
andBinaryOperator
from sqlparser, where some of them are useful.This ticket is not intended to align the gap between
Operator
andBinaryOperator
. But to include those might-helpful operators with sqlparser as the reference. And further implement some of them (which means leaving another part just a placeholder, and even not included).We can categorize our current
Operator
s into three parts: fully supported (like AND/OR), included but not supported (like@>
) and not included. This ticket focuses on extending the first two parts. And for some operators, it may take a relatively long time to fully support them. Like those for JSON operation. The meaning of listing them here is for rough progress tracking, and to push them into the "included but not implemented" stage for downstream projects to easily extend their version.Describe the solution you'd like
Here is a table of various operators and their status:
->
extracts a JSON object field or array element->>
extracts a JSON object field or JSON array element and converts it to text#>
extracts a JSON sub-object at the specified path#>>
extracts JSON sub-object at the specified path<@
is used for JSON and text searches@>
is used for JSON and text searches@@
is used for JSON and text searchesa XOR b
. We've implementedBitwiseXor
and can map this toBitwiseXor
operatorBitwiseXor
DIV
or//
ALL
SELECT 1 = ALL(ARRAY[1,1,1,1]);
?
checks whether a string exists as a top-level key within the JSON value@?
checks the given JSON path returns an item for the JSON value?&
check whether all of the the indicated array members exist as top-level keys?
checks whether any of the the indicated array members exist as top-level keysFeel free to add or modify it
Describe alternatives you've considered
No response
Additional context
Cross-references:
ExecutionPlans
#7308The text was updated successfully, but these errors were encountered: