BentsiLeviav opened a new issue, #33692:
URL: https://github.com/apache/beam/issues/33692

   ### What happened?
   
   The 
[parseDefaultExpression](https://github.com/apache/beam/blob/master/sdks/java/io/clickhouse/src/main/java/org/apache/beam/sdk/io/clickhouse/TableSchema.java#L315)
 function is missing implementations for the following ClickHouse types:
   
   * `DateTime`
   * `Array` (including nested)
   * `Tuple`
   * `Float32`
   * `Float64`
   This omission results in errors or unhandled cases when attempting to parse 
default expressions for these types.
   
   ## Suggested Improvement:
   Generalize the parseDefaultExpression function to handle any string-based 
conversion into the appropriate Java representation that ClickHouse expects. 
This would make the function more robust and capable of supporting future type 
additions without requiring frequent updates.
   
   ## Steps to Reproduce:
   
   Call the parseDefaultExpression function with a value and a column type that 
matches any of the unsupported types listed above.
   Observe that the function either fails or returns an incorrect result.
   
   ### Issue Priority
   
   Priority: 2 (default / most bugs should be filed as P2)
   
   ### Issue Components
   
   - [ ] Component: Python SDK
   - [ ] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [x] Component: IO connector
   - [ ] Component: Beam YAML
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Infrastructure
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to