register temporary table pyspark code example
Example 1: register temporary table pyspark
sample_data_schema.createTempView('sample_data_view')
Example 2: register temporary table pyspark
>>> testDF.registerTempTable('dataset')
sample_data_schema.createTempView('sample_data_view')
>>> testDF.registerTempTable('dataset')