Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error insert value between -1 and 1 #8890

Closed
nacholore opened this issue Mar 15, 2022 · 1 comment
Closed

Error insert value between -1 and 1 #8890

nacholore opened this issue Mar 15, 2022 · 1 comment

Comments

@nacholore
Copy link

Hi, I have created a stream with double type field when I have inserted value near zero in this field, ksql throw error.

KSQL server -> v0.24.0

sql CREATE STREAM ais_locations ( LON DOUBLE, DATETIME VARCHAR) WITH (kafka_topic='ais_locations', partitions=1, value_format='JSON', timestamp='datetime', timestamp_format='yyyy-MM-dd HH:mm:ss');

When insert data in stream
INSERT INTO ais_locations (LON, DATETIME) VALUES (0.013138,'2022-03-11 12:51:15');

Show error
Failed to insert values into 'AIS_LOCATIONS'. Unexpected error generating code for insert value. expression: 0.013138

@agavra
Copy link
Contributor

agavra commented Mar 15, 2022

Thanks for the report @nacholore - this has been fixed and will be available in 0.25 (#8720)

In the meantime you can use the workarounds specified in this ticket: #8413

@agavra agavra closed this as completed Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants