Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


...

Page properties

...


Discussion

...

threadhttps://

...

...

/thread/8d580jcqzpcbmfwqvhjso82hdd2x0461
Vote threadhttps://lists.apache.org/thread/f14jjhrscrdv7h6zw6h1k72nfx232qxs
JIRA

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyFLINK-24890

Release1.18.0


POC Demo: https://asciinema.org/a/446247?speed=3.0

...

JIRAhere (<- link to https://issues.apache.org/jira/browse/FLINK-XXXX)

Released: <Flink Version>

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

...

Code Block
java
java
public enum BuiltInDialect {
  DEFAULT("FlinkSQLDefaultDialect", () -> SqlAbstractParserImpl.getSql92ReservedWordskeywords(), '`', '\'', "\"", Pair.of("/*", "*/"), Pair.of("/*+", "*/"), "--");


  private final Supplier<Set<String>> keywords;
  private final char quote;
  private final char sqlIdentifierQuote;
  private final Pair<String, String> blockComments;
  private final Pair<String, String> hints;
  private final String lineComments;
...
}

...

OptionDescription
\cCurrent catalog
\dCurrent database
\:property_name:The value of Flink property_name property
\[ ... \]

Prompts can contain terminal control characters which, for example, change the color, background, or style of the prompt text.

These non-printing control characters must be designated as invisible by surrounding them with \[ and \].

Multiple pairs of these can occur within the prompt.

\{...\}Datetime pattern to convert current datetime. Compatible with Java’s SimpleDateFormat.
\DThe full current date (yyyy-MM-dd HH:mm:ss.SSS)
\mMinutes of the current time\nNew line character
\OThe current month in three-letter format (Jan, Feb, …)
\oThe current month in numeric format
\Pam/pm
\RThe current time, in 24-hour military time (0–23)
\rThe current time, standard 12-hour time (1–12)
\sSeconds of the current time\tA tab character
\wThe current day of the week in three-letter format (Mon, Tue, …)
\YThe current year, four digits
\yThe current year, two digits
\\A literal \ backslash character
\x

x, for any x not listed above

...