Github user dongjoon-hyun commented on the pull request:
https://github.com/apache/tajo/pull/543#issuecomment-94273921
@jihoonson , up to my knowledge, sorting is based on the result of
selection by the SQL definition. In other words, sorting stage is processed
after producing the table. So, I added `normalizeSort` function that look the
schema part up first and handle the other cases in pre-defined `normalizeSort`.
I thought it is general. Could you elaborate what you mean? I'm not sure what
you mean by `general rule`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---