-
Notifications
You must be signed in to change notification settings - Fork 2.2k
chore: cleanup some TODO items in sqllogictests #23382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,13 +41,11 @@ select array_has([1, null, 2], 3), | |
| false false | ||
|
|
||
| #TODO: array_has_all and array_has_any cannot handle NULL | ||
| #query BBBB | ||
| #select array_has_any([], null), | ||
| # array_has_any([1, 2, 3], null), | ||
| # array_has_all([], null), | ||
| # array_has_all([1, 2, 3], null); | ||
| #---- | ||
| #false false false false | ||
| query error array_has does not support type 'Null' | ||
| select array_has_any([], null), | ||
| array_has_any([1, 2, 3], null), | ||
| array_has_all([], null), | ||
| array_has_all([1, 2, 3], null); | ||
|
Comment on lines
+44
to
+48
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should these return null, like the |
||
|
|
||
| query BBBBBBBBBBBB | ||
| select array_has(make_array(1,2), 1), | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,7 +57,6 @@ select array_prepend(null, [[1,2,3]]); | |
|
|
||
| # DuckDB: [[]] | ||
| # ClickHouse: [[]] | ||
| # TODO: We may also return [[]] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. seems we already return this |
||
| query ? | ||
| select array_prepend([], []); | ||
| ---- | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -200,10 +200,6 @@ SELECT foo_schema.bar.a FROM foo_schema.bar; | |||||||||||
| ---- | ||||||||||||
| 1 | ||||||||||||
|
|
||||||||||||
| # TODO: Drop schema for cleanup, see #6027 | ||||||||||||
| # statement ok | ||||||||||||
| # DROP SCHEMA foo_schema; | ||||||||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. tested later in the file now datafusion/datafusion/sqllogictest/test_files/ddl.slt Lines 772 to 776 in f34a676
|
||||||||||||
|
|
||||||||||||
| ########## | ||||||||||||
| # Drop view error tests | ||||||||||||
| ########## | ||||||||||||
|
|
||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its better for it to run to an error so when we fix it later we'll know to also fix this here