-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drive sqllogictest runner on directory contents rather than hard code…
…d list (#4472) * Update sqllogictest runner based on files * port some tests * fmt * improve comments * fix compilation on windows
- Loading branch information
Showing
3 changed files
with
123 additions
and
148 deletions.
There are no files selected for viewing
This file contains 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 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
61 changes: 61 additions & 0 deletions
61
datafusion/core/tests/sqllogictests/test_files/information_schema.slt
This file contains 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,61 @@ | ||
# 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. | ||
|
||
# show all variables | ||
query R | ||
SHOW ALL | ||
---- | ||
datafusion.catalog.location NULL | ||
datafusion.catalog.type NULL | ||
datafusion.execution.batch_size 8192 | ||
datafusion.execution.coalesce_batches true | ||
datafusion.execution.coalesce_target_batch_size 4096 | ||
datafusion.execution.parquet.enable_page_index false | ||
datafusion.execution.parquet.metadata_size_hint NULL | ||
datafusion.execution.parquet.pruning true | ||
datafusion.execution.parquet.pushdown_filters false | ||
datafusion.execution.parquet.reorder_filters false | ||
datafusion.execution.parquet.skip_metadata true | ||
datafusion.execution.time_zone +00:00 | ||
datafusion.explain.logical_plan_only false | ||
datafusion.explain.physical_plan_only false | ||
datafusion.optimizer.filter_null_join_keys false | ||
datafusion.optimizer.hash_join_single_partition_threshold 1048576 | ||
datafusion.optimizer.max_passes 3 | ||
datafusion.optimizer.prefer_hash_join true | ||
datafusion.optimizer.skip_failed_rules true | ||
datafusion.optimizer.top_down_join_key_reordering true | ||
|
||
# show_variable_in_config_options | ||
query R | ||
SHOW datafusion.execution.batch_size | ||
---- | ||
datafusion.execution.batch_size 8192 | ||
|
||
# show_time_zone_default_utc | ||
# https://github.com/apache/arrow-datafusion/issues/3255 | ||
query R | ||
SHOW TIME ZONE | ||
---- | ||
datafusion.execution.time_zone +00:00 | ||
|
||
# show_timezone_default_utc | ||
# https://github.com/apache/arrow-datafusion/issues/3255 | ||
query R | ||
SHOW TIMEZONE | ||
---- | ||
datafusion.execution.time_zone +00:00 |