Skip to content

Commit

Permalink
Update set target_partitions in show_variable test
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Dec 4, 2022
1 parent b9c70f5 commit cb0f651
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
# specific language governing permissions and limitations
# under the License.

# target_partitions defaults to num_cores, so set
# to a known value that is unlikely to be
# the real number of cores on a system
statement ok
SET datafusion.execution.target_partitions=7

# show all variables
query R
SHOW ALL
Expand All @@ -33,7 +39,7 @@ 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.target_partitions 16
datafusion.execution.target_partitions 7
datafusion.execution.time_zone +00:00
datafusion.explain.logical_plan_only false
datafusion.explain.physical_plan_only false
Expand Down

0 comments on commit cb0f651

Please sign in to comment.