-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Port tests in csv_files.rs
to sqllogictest
#8251
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
Closed
Closed
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
7afeb8b
Minor: Improve the document format of JoinHashMap
Asura7969 6332bec
Merge remote-tracking branch 'origin/main'
Asura7969 cc5e0c7
Merge remote-tracking branch 'origin/main'
Asura7969 a114310
Merge remote-tracking branch 'origin/main'
Asura7969 928c811
Merge remote-tracking branch 'origin/main'
Asura7969 839093e
Merge remote-tracking branch 'origin/main'
Asura7969 a836cde
Merge remote-tracking branch 'origin/main'
Asura7969 5648dc7
Merge branch 'apache:main' into main
Asura7969 a670409
Merge branch 'apache:main' into main
Asura7969 22894a3
Merge branch 'apache:main' into main
Asura7969 73a59d2
Merge branch 'apache:main' into main
Asura7969 46409c2
Merge branch 'apache:main' into main
Asura7969 8a86a4c
Merge branch 'apache:main' into main
Asura7969 cf5c584
Merge branch 'apache:main' into main
Asura7969 737d73c
Port tests in csv_files.rs to sqllogictest
Asura7969 447eed2
Merge branch 'main' into csv_files
Asura7969 3492266
fix: fmt
Asura7969 62ae9b9
Merge branch 'apache:main' into main
Asura7969 da02fa2
Merge branch 'apache:main' into main
Asura7969 d98eb2e
Merge branch 'apache:main' into main
Asura7969 79e7216
Merge branch 'apache:main' into main
Asura7969 fec6eea
Merge branch 'main' into csv_files
Asura7969 3a6e362
fix: test file
Asura7969 126b3c2
fix: use enable_testdir
Asura7969 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
|
||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
############# | ||
## Csv Files Tests | ||
############# | ||
|
||
# TODO: https://github.com/apache/arrow-datafusion/issues/8310 | ||
# statement ok | ||
# CREATE EXTERNAL TABLE test_custom_quote_escape ( | ||
# c1 VARCHAR DEFAULT NULL, | ||
# c2 VARCHAR DEFAULT NULL | ||
# ) | ||
# STORED AS CSV | ||
# WITH HEADER ROW | ||
# DELIMITER ',' | ||
# OPTIONS ('quote' '~', 'escape' '\') | ||
# LOCATION 'test_custom_quote_escape.csv'; | ||
|
||
query TT | ||
SELECT * from test_custom_quote_escape; | ||
---- | ||
id0 value0 | ||
id1 value1 | ||
id2 value2 | ||
id3 value3 | ||
id4 value4 | ||
id5 value5 | ||
id6 value6 | ||
id7 value7 | ||
id8 value8 | ||
id9 value9 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
👍