这是indexloc提供的服务,不要输入任何密码
Skip to content

support customising function root field names #7405

@0x777

Description

@0x777

Currently we allow customizing the names of the root fields generated for tables. However, we don't have the same for functions. Functions already have a configuration section - we can add two top level fields called custom_name and custom_root_fields as follows:

functions:
- function: function_name
  configuration:
    session_argument: ...
    exposed_as: ...
    custom_name: a custom graphql compliant name
    custom_root_fields:
      function: FunctionName
      function_aggregate: SomeOtherName
  permissions: ...

Console will require an equivalent of set_table_customization, maybe set_function_configuration to allow modifying this configuration after a function is tracked.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions