Skip to content

Snow sql convertor displaying issues #276

@YaroslavLitvinov

Description

@YaroslavLitvinov
select 
    a.*,
    row_number() over (partition by a.event_id order by a.collector_tstamp, a.dvce_created_tstamp) as row_num from snowplow.public.events_iceberg a limit 1;

Above query succesfully returning results in json format when executed via /ui/query API.
But the same query executed from snow sql gets following results:

No column converter found for type: FLOAT32
No column converter found for type: FLOAT32
No column converter found for type: FLOAT32
+-------------------------------------------------------------------------------
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+-------------------------------------------------------------------------------

Instead when snow sql --format=json specified it returns mostly expected result with only difference how it represents timestamp.
In /ui/query:
"etl_tstamp": "2022-08-20T00:39:32.000913"

In snow sql --format=json:
"etl_tstamp": "1660955972.913000"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions