[ https://issues.apache.org/jira/browse/FLINK-31380 ]
Ran Tao deleted comment on FLINK-31380:
---------------------------------
was (Author: lemonjing):
Hi, [~jark] . Currently there are three ways to support these auxiliary sql
statements.
1.change every operation to support like/ilike or from/in, but future syntax we
need to continue change them. (one-by-one way).
2.add a common abstract class to do this, but future change we need to change
abstract class either.(abstract class way)
3.decorator model, add concrete decorator to support a certain syntax. Its
benefits are very scalable and loosely coupled. currently the pr was
implemented in this way. (decorators)
I'm wondering if I've overcomplicated the problem(because these classes are not
@Public). WDYT?
Sorry, this is not discussed in FLIP. FLIP was the first way before, but I
found that most of the work was repeated in the implementation.
> Support enhanced show catalogs syntax
> -------------------------------------
>
> Key: FLINK-31380
> URL: https://issues.apache.org/jira/browse/FLINK-31380
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / API, Table SQL / Planner
> Reporter: Ran Tao
> Assignee: Ran Tao
> Priority: Major
> Labels: pull-request-available
>
> As FLIP discussed. We will support new syntax for some show operations.
> To avoid bloat, this ticket supports ShowCatalogs.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)