[fix](tvf) To fix the bug that requires adding backticks on "frontends()" in order to query the frontends TVF. (#21338)
This commit is contained in:
@ -7624,6 +7624,8 @@ keyword ::=
|
||||
{: RESULT = id; :}
|
||||
| KW_FEATURE:id
|
||||
{: RESULT = id; :}
|
||||
| KW_FRONTENDS:id
|
||||
{: RESULT = id; :}
|
||||
| KW_MAP:id
|
||||
{: RESULT = id; :}
|
||||
| KW_VARCHAR:id
|
||||
|
||||
@ -32,14 +32,14 @@ import java.util.Map;
|
||||
|
||||
/**
|
||||
* The Implement of table valued function
|
||||
* backends().
|
||||
* frontends().
|
||||
*/
|
||||
public class FrontendsTableValuedFunction extends MetadataTableValuedFunction {
|
||||
public static final String NAME = "frontends";
|
||||
|
||||
private static final ImmutableList<Column> SCHEMA = ImmutableList.of(
|
||||
new Column("Name", ScalarType.createStringType()),
|
||||
new Column("HOST", ScalarType.createStringType()),
|
||||
new Column("Host", ScalarType.createStringType()),
|
||||
new Column("EditLogPort", ScalarType.createStringType()),
|
||||
new Column("HttpPort", ScalarType.createStringType()),
|
||||
new Column("QueryPort", ScalarType.createStringType()),
|
||||
|
||||
Reference in New Issue
Block a user