[ 
https://issues.apache.org/jira/browse/CALCITE-7510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18079699#comment-18079699
 ] 

Jerome Isaac Haltom commented on CALCITE-7510:
----------------------------------------------

Current situation is an attempt to UPDATE simply throws an Assertion("UPDATE"). 
However, INSERT works, so my feeling is it's not like editing was left out. I 
am no 100% sure why UPDATE support was left out. But, at least, it might be 
because not all underlying collections support the same type of operations. 
However, there does only appear to be one real underlying implementation of the 
collection here, and it is a List. INSERT was accomplished by calling add on 
the Collection.

I figure that if the underlying implementation is a List, then it working 
should be fine.

> EnumerableTableModify UPDATE support
> ------------------------------------
>
>                 Key: CALCITE-7510
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7510
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.41.0
>            Reporter: Jerome Isaac Haltom
>            Priority: Minor
>              Labels: pull-request-available
>
> I make use of the ServerDdl support in a test suite of mine, to CREATE TABLE, 
> and then insert/update records in it. I found that it did not support UPDATE 
> statements. However, I need it to.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to