Change column names with Plugin

gblack686
gblack686 Partner, Registered Posts: 62 Partner

I have my final dataset and but I want to change the column names based on a naming convention at the end of the code. Right now I'm using

output_dataset.write_schema(columns, dropAndCreate=True)

There are no errors in the code, but when I go to explore the data, 'the relation does not exist'.

After Settings > 'Test Connection' and 'Create Table Now' works fine... the table has 0 records with the correct column names.

Is there a better function to do this?

Answers

Setup Info
    Tags
      Help me…