[
https://issues.apache.org/jira/browse/HIVE-21976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16882630#comment-16882630
]
Vineet Garg commented on HIVE-21976:
------------------------------------
+1
> Offset should be null instead of zero in Calcite HiveSortLimit
> --------------------------------------------------------------
>
> Key: HIVE-21976
> URL: https://issues.apache.org/jira/browse/HIVE-21976
> Project: Hive
> Issue Type: Bug
> Components: CBO
> Affects Versions: 4.0.0
> Reporter: Jesus Camacho Rodriguez
> Assignee: Jesus Camacho Rodriguez
> Priority: Minor
> Labels: pull-request-available
> Attachments: HIVE-21976.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Calcite expects a value equal or greater than 1. Otherwise, it may generate
> SQL from a plan incorrectly ({{offset 0}}).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)