spark.sql("select mypartitioncolumn, column1, column2 from mydatabase.mytable where mypartitioncolumnspark.sql("select mypartitioncolumn, column1, column2 from mydatabase.mytable where mypartitioncolumn
我有下面这段代码。我想使用来自变量数据的计算数据填充KPI_RESULTS表。变量数据接收不同的公式。例如( n1*n7)*100取决于工程师对KPI公式的定义。n1 -n!是列名。enter code here
set @s = Concat("select datetime , element NODE,",@data," RESULTS from loas");
INSERT INTO KPI_re