Skip to content

Commit 31a2160

Browse files
authored
docs: minor docs update for running Spark SQL tests (#2712)
1 parent 0a0897a commit 31a2160

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/source/contributor-guide/spark-sql-tests.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ git apply ../datafusion-comet/dev/diffs/3.4.3.diff
5656

5757
### Use the following commands to run the Spark SQL test suite locally.
5858

59+
Optionally, enable Comet fallback logging, so that all fallback reasons are logged at `WARN` level.
60+
61+
```shell
62+
export ENABLE_COMET_LOG_FALLBACK_REASONS=true
63+
```
64+
5965
```shell
6066
ENABLE_COMET=true ENABLE_COMET_ONHEAP=true build/sbt catalyst/test
6167
ENABLE_COMET=true ENABLE_COMET_ONHEAP=true build/sbt "sql/testOnly * -- -l org.apache.spark.tags.ExtendedSQLTest -l org.apache.spark.tags.SlowSQLTest"
@@ -68,7 +74,7 @@ ENABLE_COMET=true ENABLE_COMET_ONHEAP=true build/sbt "hive/testOnly * -- -n org.
6874
### Steps to run individual test suites through SBT
6975
1. Open SBT with Comet enabled
7076
```shell
71-
ENABLE_COMET=true sbt -J-Xmx4096m -Dspark.test.includeSlowTests=true
77+
ENABLE_COMET=true ENABLE_COMET_ONHEAP=true sbt -J-Xmx4096m -Dspark.test.includeSlowTests=true
7278
```
7379
2. Run individual tests (Below code runs test named `SPARK-35568` in the `spark-sql` module)
7480
```shell

0 commit comments

Comments
 (0)