Skip to content

Commit

Permalink
Merge pull request NVIDIA#1306 from NVIDIA/branch-0.3
Browse files Browse the repository at this point in the history
[auto-merge] branch-0.3 to branch-0.4 [skip ci] [bot]
  • Loading branch information
nvauto authored Dec 7, 2020
2 parents aa5dbd0 + 0f92152 commit 97af8ec
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,12 @@ object GpuOverrides {
g.qualifier,
g.explicitMetadata)
.canonicalized
case g: GpuSubstring =>
Substring(
canonicalizeToCpuForSortOrder(g.str),
canonicalizeToCpuForSortOrder(g.pos),
canonicalizeToCpuForSortOrder(g.len))
.canonicalized
case o: GpuExpression =>
throw new IllegalStateException(s"${o.getClass} is not expected to be a part of a SortOrder")
case other => other.canonicalized
Expand Down

0 comments on commit 97af8ec

Please sign in to comment.