Skip to content

[Bug]: select outfile json type include " which enclosed by ''  #14601

Closed

Description

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

a6e7ae3

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

select outfile 指定封闭符为空enclosed by '',导出文件中json类型封闭符还是",虽然该文件再次导入mo可以成功,但导入其他数据库数据显示错误,故预期json类型导出文件需去掉"。
企业微信截图_2e28109e-c24f-4459-b728-503003080169

该导出文件再导入mo可成功
企业微信截图_90e1c4cf-f7db-4a62-9892-c2270eaa6f06

但导入其他数据库,比如doris,导入成功数据显示有误
企业微信截图_8ccccb04-3af1-495d-ab61-9eff3f5b4c4e
文件中去掉" ,doris load成功
企业微信截图_468f1cbd-a849-4a82-9237-3650f885c384
企业微信截图_ff2da71f-1e9e-4864-a977-c92718d6a097

Expected Behavior

No response

Steps to Reproduce

select * from table_with_pk_for_load_100m into outfile '/test/1000000000_20_columns_load_data_pk.csv'  fields terminated by '|' enclosed by '';

Additional information

No response

Activity

  1. ghost added
    kind/bug
    on Feb 20, 2024
  2. ghost added
    severity/s0
    on Feb 20, 2024
  3. ghost added this to the 1.2.0 milestone on Feb 20, 2024
  4. ghost assigned on Feb 20, 2024
  5. noorall commented on Feb 26, 2024

    @noorall
    Contributor

    与这一更改关联的历史issue:#10838

  6. assigned and unassigned on Feb 27, 2024
  7. ghost closed this as completedon Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugseverity/s0

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions