Skip to content

Instantly share code, notes, and snippets.

@asgillmor
Created May 10, 2018 00:23
Show Gist options
  • Save asgillmor/be257a57a0b6019dfd29d2d514340d28 to your computer and use it in GitHub Desktop.
Save asgillmor/be257a57a0b6019dfd29d2d514340d28 to your computer and use it in GitHub Desktop.
@pytest.fixture()
def business_rdd(spark_context):
return spark_context.parallelize(business_table_data, 1).map(parse_line)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment