[ https://issues.apache.org/jira/browse/FLINK-36085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Nuyanzin updated FLINK-36085: ------------------------------------ Description: Current implementation has several issues 1. every operation implements its own support of {{LIKE}}, {{ILIKE}} while common logic could be extracted and reused 2. Some operation generate invalid SQL for asSummaryString and the format is different between show operations 3. Some operations throw NPE if database or catalog is not set instead of ValidationException so the logic could be generalized for this {{SQL SHOW}} operations was: Current implementation has several issues 1. every operation implements its own support of {{LIKE}}, {{ILIKE}} while common logic could be extracted and reused 2. Some operation generate invalid SQL for asSummaryString and the format is different between show operations so the logic could be generalized for this {{SQL SHOW}} operations > Refeactor operation with LIKE/ILIKE > ----------------------------------- > > Key: FLINK-36085 > URL: https://issues.apache.org/jira/browse/FLINK-36085 > Project: Flink > Issue Type: Sub-task > Components: Table SQL / API > Reporter: Sergey Nuyanzin > Assignee: Sergey Nuyanzin > Priority: Major > > Current implementation has several issues > 1. every operation implements its own support of {{LIKE}}, {{ILIKE}} while > common logic could be extracted and reused > 2. Some operation generate invalid SQL for asSummaryString and the format is > different between show operations > 3. Some operations throw NPE if database or catalog is not set instead of > ValidationException > so the logic could be generalized for this {{SQL SHOW}} operations -- This message was sent by Atlassian Jira (v8.20.10#820010)