Skip to content

Lightning import failed for unterminated quoted field when using ks3 #46623

Open
@lilinghai

Description

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

~/.tiup/components/tidb-lightning/v7.4.0-alpha-nightly-20230901/tidb-lightning -tidb-host "xx" -pd-urls "xx:2379" -d "s3://bucket/xxx?access-key=xxx&secret-access-key=xxx&endpoint=http%3a%2f%2fks3-cn-beijing-internal.ksyuncs.com&force-path-style=false&region=Beijing&provider=ks" -c lightning.toml
Verbose debug logs will be written to /tmp/lightning.log.2023-09-04T12.29.31+0800

tidb lightning encountered error: [Lightning:Restore:ErrEncodeKV]encode kv error in file airbnbsim.t1.10498.csv:0 at offset 147500006: syntax error: unterminated quoted field
lightning.log

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

master

Metadata

Assignees

No one assigned

    Labels

    affects-5.3This bug affects 5.3.x versions.affects-5.4This bug affects the 5.4.x(LTS) versions.affects-6.1This bug affects the 6.1.x(LTS) versions.affects-6.5This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.component/lightningThis issue is related to Lightning of TiDB.severity/moderatetype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions