CREATE STABLE thing_model_message_${productKey}( ts TIMESTAMP, id NCHAR(64), sys NCHAR(2048), method NCHAR(255), params NCHAR(2048), device_name NCHAR(64) )TAGS ( device_key NCHAR(50) ) CREATE STABLE ${deviceKey} USING thing_model_message_${productKey}( ts, id , sys , method , params , device_name )TAGS( #{device_key} )