You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2022/09/07 07:07:44 UTC
[GitHub] [ignite-3] korlov42 commented on a diff in pull request #1057: IGNITE-17624 Sql. HashIndex support by optimizer
korlov42 commented on code in PR #1057:
URL: https://github.com/apache/ignite-3/pull/1057#discussion_r964463194
##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/ddl/DdlCommandHandler.java:
##########
@@ -229,15 +232,20 @@ private static BiFunction<Object, Throwable, Boolean> handleTableModificationRes
/** Handles create index command. */
private CompletableFuture<Boolean> handleCreateIndex(CreateIndexCommand cmd) {
Consumer<TableIndexChange> indexChanger = tableIndexChange -> {
- // Only sorted idx for now.
- createSortedIndexInternal(cmd, tableIndexChange.convert(SortedIndexChange.class));
+ if (cmd.type() == Type.SORTED) {
Review Comment:
fixed
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org