Last active
September 13, 2020 14:03
-
-
Save aialenti/2729ccbfdaf91ab04d7a9cdf9880e3bc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # Read the source tables in Parquet format | |
| sales_table = spark.read.parquet("./data/sales_parquet") | |
| ''' | |
| SELECT * | |
| FROM sales_table | |
| ''' | |
| # Execution Plan | |
| sales_table_execution_plan = sales_table.select(col("*")) | |
| # Show (Action) - Showing 5 rows with no limit in columns width | |
| sales_table_execution_plan.show(5, True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment