Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A Datetime column is supposed to be added into csv dataset file to get the time series visualization for Superset. Here, for Wealth Inequalities application we have created "year_new" column which is the copy of "year1" column, but have just added "yyyy-01-01" to get datetime column. And then run the analytical workloads again.
Initially while adding that column it's datatype can be String and then later on in Superset, click on edit symbol beside your dataset name and then under CALCULATED COLUMNS you need to enter the SQL Query "from_unixtime(unix_timestamp(year_new, 'yyyy-MM-dd'))" and select the datatype as DATETIME, click on Save. To plot the time series graph it is necessary to have a Datetime column and this can be done by following the document of FAQs.

...

 

...

Copyright ©

...

Springy Corporation. All rights reserved. Not to be reproduced or distributed without express written consent.