Github user maropu commented on the pull request:

    https://github.com/apache/spark/pull/7076#issuecomment-120623834
  
    Yes, and falling back into normal expressions turns off unsafe optimization.
    I feel concerned that this fix is less meaningful for most users
    because they are intended to have few columns.
    So, I think that this PR fixes the bug by throwing an exception in 
CodeGenerator#compile
    because it is trivial and prevents other codegen'd classes (e.g., 
GenerateOrdering and GenerateProjection) from having the same issue.
    Then, we need to discuss your proposal in following PRs.


---
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.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to