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
[DELTA-OSS-EXTERNAL] Added SQL examples and integration tests for python/scala
- Modified old tests to work with Spark 3.0 by adding the right spark conf
- Added a new test to test SQL on metastore tables and paths
- Updated integration testing script to run the examples in a fine-grained manner.
Originally done by @rahulsmahadev in #426Closes#451
Co-authored-by: Rahul Mahadev <[email protected]>
Signed-off-by: Tathagata Das <[email protected]>
Author: Tathagata Das <[email protected]>
#10659 is resolved by tdas/qfwc2lq2.
GitOrigin-RevId: 4247f17fc78e741b01f5ee47cc8b96f776f4b250
Copy file name to clipboardExpand all lines: examples/README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
In this folder there are examples taken from the delta.io quickstart guide and docs. They are available in both Scala and Python and can be run if the prerequisites are satisfied.
3
3
4
4
### Prerequisites
5
-
*Apache Spark version 2.4.2 or above
6
-
*PySpark is required for running python examples
5
+
*For Python examples, PySpark 3.0.0 or above needs to be installed.
6
+
*For Scala examples, Spark does not need to be install because it depends on Spark maven artifacts.
7
7
8
8
### Instructions
9
-
* To run an example in Python run `spark-submit --packages io.delta:delta-core_2.11:0.5.0 PATH/TO/EXAMPLE`
10
-
* To run the Scala examples, `cd examples/scala` and run `./build/sbt "runMain example.{Example class name}"` e.g. `./build/sbt "runMain example.Quickstart"`
9
+
* To run an example in Python run `spark-submit --packages io.delta:delta-core_2.12:0.7.0 PATH/TO/EXAMPLE`
10
+
* To run the Scala examples, `cd examples/scala` and run `./build/sbt "runMain example.{Example class name}"` e.g. `./build/sbt "runMain example.Quickstart"`
0 commit comments