Skip to content

[Outfile] Support export query result to local disk #5490

@morningman

Description

@morningman

Is your feature request related to a problem? Please describe.

Currently, we only support writing query results to remote storage through the broker, but some users want to export them directly to the local and process them by themselves. So I plan to support the function of exporting to local.
At the same time, the user wants to be able to write a mark file after the export is completed to notify the downstream data that the export has been successful.

Because I cannot control which node the query result is output from, I also modified the return result of the outfile statement. The returned result shows the ip of the machine where the local file is located.

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions