Skip to content

Conversation

@morningman
Copy link
Contributor

cherry pick from #42257

…42257)

## Proposed changes
OpenCSVSerde Properties:
| **Property** | **Description** | **Default Value** | **Supported in
Doris** |

|---------------------------------------|---------------------------------------------------------------------------------------------------|-------------------|--------------------------|
| `separatorChar` | Defines the character used to separate fields
(columns) in a CSV file. | `,` | Yes |
| `quoteChar` | Defines the character used to quote fields that contain
special characters, like the separator. | `"` | Yes |
| `escapeChar` | Specifies the escape character used for escaping
special characters, including quotes and delimiters. | `"` | Yes |

### Explanation:
- **`separatorChar`**: This property defines the character that
separates columns in the CSV file. Typically, a comma (`,`) is used as
the default separator.
- **`quoteChar`**: This character is used to enclose fields that contain
special characters (like the separator). For example, if a field
contains a comma, it is enclosed in quotes (`"`).
- **`escapeChar`**: Specifies the character used to escape special
characters, such as quotes or the separator. In many cases, a backslash
(`\\`) is used as the escape character.
@morningman
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@morningman morningman merged commit cdd32d9 into apache:branch-2.1 Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants