clickhouse-java icon indicating copy to clipboard operation
clickhouse-java copied to clipboard

DoubleValue update of inf str

Open Chen768959 opened this issue 1 year ago • 2 comments

Summary

When SQL is formatted using the FORMAT TabSeparatedWithNamesAndTypes in ClickHouse the ClickHouseTabSeparatedProcessor will update the value as a String. In this case, if the double type is inf, -inf, or nan, it will not be able to be parsed.

for example image

Checklist

Delete items not relevant to your PR:

  • [x] Unit and integration tests covering the common scenarios were added
  • [x] A human-readable description of the changes was provided to include in CHANGELOG
  • [ ] For significant changes, documentation in https://github.com/ClickHouse/clickhouse-docs was updated with further explanations or tutorials

Chen768959 avatar Nov 09 '23 08:11 Chen768959

@Chen768959 sorry for the delay Can you some tests to cover

mzitnik avatar Nov 28 '23 12:11 mzitnik

@Chen768959 sorry for the delay Can you some tests to cover Sure

Chen768959 avatar Nov 28 '23 13:11 Chen768959