Thursday, June 1, 2023

kql STRINGTOTIMESTAMP

Örnek
Şöyle yaparız
CREATE STREAM weight_stream
WITH (TIMESTAMP='event_ts', VALUE_FORMAT='avro') 
AS 
 SELECT 'snowy' AS cat_name,
 STRINGTOTIMESTAMP (event_date, 'dd/MM/yyyy HH:mm:ss') AS event_ts,
 event_date,
 cat_weight,
 food_weight 
 FROM debug_stream_raw ;

No comments:

Post a Comment

Consumer Failover Across Data Centers

Active-Passive Consumption Across Data Centers Açıklaması şöyle In Kafka, a common consumption pattern for multi-data center setups in...