You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-44342][SQL] Replace SQLContext with SparkSession for GenTPCDSData
### What changes were proposed in this pull request?
The `SQLContext` is an old API for Spark SQL.
But `GenTPCDSData` still use it directly.
### Why are the changes needed?
Avoid use the legacy API for `GenTPCDSData`.
### Does this PR introduce _any_ user-facing change?
'No'.
Just update the benchmark utils.
### How was this patch tested?
Manual test by running:
`build/sbt "sql/Test/runMain org.apache.spark.sql.GenTPCDSData --dsdgenDir ... --location ... --scaleFactor 1"`
Closes#41900 from beliefer/SPARK-44342.
Authored-by: Jiaan Geng <[email protected]>
Signed-off-by: Kent Yao <[email protected]>
0 commit comments