pierre-mazieres-semarchy commented on PR #3752:
URL: https://github.com/apache/calcite/pull/3752#issuecomment-2040637969
I added my snippet.
In order to reproduce the original issue:
- Comment out the new `toChar(Object)` method
- In the `PrimitiveTest` class, run the `testUpdate` method
The bug is triggered in:
- the `PrimitiveTest.testUpdate` on line 37 when running the UPDATE
statement: `statement.executeUpdate("UPDATE DUMMY.PRIMITIVE SET INT_=1")`
- it will call the `InMemoryEnumerableTableModify.implement` method on line
74 when i=1: `childPhysType.fieldReference(o_, i, javaFieldType)`
- and then try to call the `toChar(Object)` method
If you uncomment the `toChar(Object)` method,
There will be no issue, and the UPDATE statement will be effective.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]