You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Kafka to take data from SQL Server and insert into Postgres - the issue is with billinglatitude [nvarchar] to billinglatitude [double precision].
I've tried to use Cast$Value to turn SQL Server '26.116184' to float64, but the column still comes across as a string. I can correctly cast SQL Server booleans [0, 1] to postgres [false, true].. how can I accomplish this for string -> double precision??
Attempt to Solve
I've tried to use billinglatitude:float64 and billinglatitude:float32, but the value still comes across as a string:
The Cast$Value documentation shows you can work with primitive types - string is a primitive type, so how can I take the string and cast it to a float??
The text was updated successfully, but these errors were encountered:
Problem
I'm using Kafka to take data from SQL Server and insert into Postgres - the issue is with billinglatitude [nvarchar] to billinglatitude [double precision].
I've tried to use Cast$Value to turn SQL Server '26.116184' to float64, but the column still comes across as a string. I can correctly cast SQL Server booleans [0, 1] to postgres [false, true].. how can I accomplish this for string -> double precision??
Attempt to Solve
I've tried to use billinglatitude:float64 and billinglatitude:float32, but the value still comes across as a string:
Reference docs
The Cast$Value documentation shows you can work with primitive types - string is a primitive type, so how can I take the string and cast it to a float??
The text was updated successfully, but these errors were encountered: