Skip to content

Commit 5828cba

Browse files
committed
add document about availability
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
1 parent 2fe7da8 commit 5828cba

File tree

1 file changed

+35
-3
lines changed

1 file changed

+35
-3
lines changed

datafusion/expr-common/src/operator.rs

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,31 +82,63 @@ pub enum Operator {
8282
BitwiseShiftLeft,
8383
/// String concat
8484
StringConcat,
85-
/// At arrow, like `@>`
85+
/// At arrow, like `@>`.
86+
///
87+
/// Currently only supported to be used with lists:
88+
/// ```sql
89+
/// select [1,3] <@ [1,2,3]
90+
/// ```
8691
AtArrow,
87-
/// Arrow at, like `<@`
92+
/// Arrow at, like `<@`.
93+
///
94+
/// Currently only supported to be used with lists:
95+
/// ```sql
96+
/// select [1,2,3] @> [1,3]
97+
/// ```
8898
ArrowAt,
89-
/// Arrow, like `->`
99+
/// Arrow, like `->`.
100+
///
101+
/// Not implemented in DataFusion yet.
90102
Arrow,
91103
/// Long arrow, like `->>`
104+
///
105+
/// Not implemented in DataFusion yet.
92106
LongArrow,
93107
/// Hash arrow, like `#>`
108+
///
109+
/// Not implemented in DataFusion yet.
94110
HashArrow,
95111
/// Hash long arrow, like `#>>`
112+
///
113+
/// Not implemented in DataFusion yet.
96114
HashLongArrow,
97115
/// At at, like `@@`
116+
///
117+
/// Not implemented in DataFusion yet.
98118
AtAt,
99119
/// Integer division operator, like `DIV` from MySQL or `//` from DuckDB
120+
///
121+
/// Not implemented in DataFusion yet.
100122
IntegerDivide,
101123
/// Hash Minis, like `#-`
124+
///
125+
/// Not implemented in DataFusion yet.
102126
HashMinus,
103127
/// At question, like `@?`
128+
///
129+
/// Not implemented in DataFusion yet.
104130
AtQuestion,
105131
/// Question, like `?`
132+
///
133+
/// Not implemented in DataFusion yet.
106134
Question,
107135
/// Question and, like `?&`
136+
///
137+
/// Not implemented in DataFusion yet.
108138
QuestionAnd,
109139
/// Question pipe, like `?|`
140+
///
141+
/// Not implemented in DataFusion yet.
110142
QuestionPipe,
111143
}
112144

0 commit comments

Comments
 (0)