Github user dongjoon-hyun commented on the issue:
    Hi, @hvanhovell .
    When using `Expression`, I faced two situations.
    - `checkAnalysis` raises exceptions because the column is unresolved, e.g., 
`country` is unresolved.
    - As a workaround, I tried to use string literal 'country', but then 
optimizer `ConstantFolding` replaces that as `false` because 'country' < 'KR' 
is `false`.
    ALTER TABLE sales DROP PARTITION (country < 'KR')
    To avoid this situations, I can add some rule to `checkAnalysis`. But, it 
seems not a good idea. Could you give some advice for this?

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to