forked from apache/doris
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[enhance](hive) support reading hive table with OpenCSVSerde (apache#…
…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.
- Loading branch information
1 parent
ef48470
commit 5f10b21
Showing
5 changed files
with
148 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters