每个可视化类型的代码都必须包括 --name=type,其中 type 可以是任何内容,后面再跟 SQL 代码。例如:
--name=bar1 select original_service, complete from appcenter_user.sdabc; --name=line1 select original_service, complete from appcenter_user.sdabc; --name=wordcloud1 select original_service as term, complete as tf_idf from appcenter_user.sdabc; --name=bar2 select original_service, reduced_volume from appcenter_user.sdabc; --name=line2 select original_service, reduced_volume from appcenter_user.sdabc; --name=wordcloud2 select original_service as term, reduced_volume as tf_idf from appcenter_user.sdabc; --name=bar3 select original_service, percent_reduced_volume from appcenter_user.sdabc; --name=line3 select original_service, percent_reduced_volume from appcenter_user.sdabc; --name=wordcloud3 select original_service as term, percent_reduced_volume as tf_idf from appcenter_user.sdabc; --name=line3 select original_service, percent_reduced_volume from appcenter_user.sdabc; --name=wordcloud3 select original_service as term, percent_reduced_volume as tf_idf from appcenter_user.sdabc;