[ https://issues.apache.org/jira/browse/BEAM-5074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rui Wang updated BEAM-5074: --------------------------- Description: BeamSqlRowComparator returns reversed comparison results (if a < b in terms of value, BeamSqlRowComparator returns a > b). Make it return forward results and have a reversed comparator to do the current thing. was: BeamSqlRowComparator returns reversed comparison results (if a < b in terms of value, BeamSqlRowComparator returns a > b). Add a flag to turn on/off this reversed effect. The reason of doing this is to help implement ORDER BY ASC/DESC in the normal way. > Make BeamSqlRowComparator more general > -------------------------------------- > > Key: BEAM-5074 > URL: https://issues.apache.org/jira/browse/BEAM-5074 > Project: Beam > Issue Type: Improvement > Components: dsl-sql > Reporter: Rui Wang > Assignee: Rui Wang > Priority: Major > Fix For: Not applicable > > Time Spent: 50m > Remaining Estimate: 0h > > BeamSqlRowComparator returns reversed comparison results (if a < b in terms > of value, BeamSqlRowComparator returns a > b). > > Make it return forward results and have a reversed comparator to do the > current thing. > -- This message was sent by Atlassian JIRA (v7.6.3#76005)