Şöyle yaparız
CREATE STREAM weight_streamWITH (TIMESTAMP='event_ts', VALUE_FORMAT='avro')ASSELECT 'snowy' AS cat_name,STRINGTOTIMESTAMP (event_date, 'dd/MM/yyyy HH:mm:ss') AS event_ts,event_date,cat_weight,food_weightFROM debug_stream_raw ;
No comments:
Post a Comment