Created
September 17, 2020 22:09
-
-
Save aialenti/83df27ef49ab7660c416f510daa998f5 to your computer and use it in GitHub Desktop.
This file contains 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 * | |
WHERE bill_raw_text LIKE 'ab%cd%' | |
''' | |
sales_table_execution_plan = sales_table.where( | |
col('bill_raw_text').like("ab%cd%") | |
) | |
sales_table_execution_plan.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment