zstan commented on code in PR #1798:
URL: https://github.com/apache/ignite-3/pull/1798#discussion_r1150465773


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/schema/TableDescriptorImpl.java:
##########
@@ -111,7 +110,9 @@ private ColumnDescriptor injectDefault(ColumnDescriptor 
desc) {
                 desc.physicalIndex(),
                 desc.physicalType(),
                 DefaultValueStrategy.DEFAULT_COMPUTED,
-                () -> UUID.randomUUID().toString()
+                () -> {
+                    throw new AssertionError("Implicit primary key is 
generated by a function");

Review Comment:
   ```suggestion
                       throw new AssertionError("Implicit primary key is 
generated by the function");
   ```



-- 
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]

Reply via email to