Created
February 19, 2019 20:26
-
-
Save 64lines/e38f33615261f03e2b530640a4746a1a 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
from pyspark.sql.functions import * | |
fact_df = fact_df.select([ | |
'fact_df.*', | |
col('columnname').alias('columnalias'), | |
]).alias('fact_df') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment