Skip to content

[Feature Request]: Support load local file #6665

Closed

Description

@LiSong0214

Is there an existing issue for the same feature request?

  • I have checked the existing issues.

Is your feature request related to a problem?

No response

Describe the feature you'd like

Load local files to MO using CLI tool

LOAD DATA
LOCAL
INFILE 'file_name'
INTO TABLE tbl_name
[{FIELDS | COLUMNS}
[TERMINATED BY 'string']
[[OPTIONALLY] ENCLOSED BY 'char']
[ESCAPED BY 'char']
]
[LINES
[STARTING BY 'string']
[TERMINATED BY 'string']
]
[IGNORE number {LINES | ROWS}]

Describe implementation you've considered

No response

Documentation, Adoption, Use Case, Migration Strategy

No response

Additional information

No response

Activity

  1. added
    priority/p0
    source/on-demand
    on Nov 15, 2022
  2. added this to the V0.7.0-Backlog milestone on Nov 15, 2022
  3. changed the title [-][Feature Request]: Support local file import[/-] [+][Feature Request]: Support load local file[/+] on Nov 15, 2022
  4. domingozhang commented on Nov 21, 2022

    @domingozhang
    Contributor

    local can be implemented

  5. 8 remaining items

  6. mooleetzi commented on Jan 6, 2023

    @mooleetzi
    Contributor

    under review

  7. Repository owner unassigned on Feb 8, 2023
  8. mooleetzi commented on Feb 8, 2023

    @mooleetzi
    Contributor

    pls note that in mysql, if query aborted or inner error occurs, data transfer from client to server will not stop, as a result is that client will hang until data transfer done.

  9. LiSong0214 commented on Feb 21, 2023

    @LiSong0214
    Author

    acceptance passed

  10. LiSong0214 commented on Feb 23, 2023

    @LiSong0214
    Author

    mysql -h 127.0.0.1 -P 6001 -udump -p111 --local-infile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/featurepriority/p0source/on-demandtriage/accepted

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions