Skip to content

Instantly share code, notes, and snippets.

@kshitijcode
Created November 30, 2021 04:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kshitijcode/4b6b0eaf8527beb82acad32212487713 to your computer and use it in GitHub Desktop.
Save kshitijcode/4b6b0eaf8527beb82acad32212487713 to your computer and use it in GitHub Desktop.
assert pipeline_run_result == constants.PIPELINE_SUCCESS_STATUS
# Check for Data in Raw Zone
parquet_dataframe = adls.read_parquet_file_from_ADLS(
adls_connection_client, container_name, target_path)
num_of_rows = len(parquet_dataframe.index)
# Assert
print(f"Number of Rows Fetched : { num_of_rows }\n")
assert num_of_rows >=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment