Skip to content

[feature](hive)support create hive table for text format #41860#42195

Merged
morningman merged 1 commit intoapache:branch-2.1from
morningman:pick_41860_to_upstream-apache_branch-2.1
Oct 21, 2024
Merged

[feature](hive)support create hive table for text format #41860#42195
morningman merged 1 commit intoapache:branch-2.1from
morningman:pick_41860_to_upstream-apache_branch-2.1

Conversation

@morningman
Copy link
Contributor

cherry pick from #41860

We can create hive table for text format with `'file_format'='text'`,
and set related properties:
```sql
create table tb (
    id int,
    `name` string
) PROPERTIES (
    'file_format'='text',
    'compression'='gzip',
    'field.delim'='\t',
    'line.delim'='\n',
    'collection.delim'=';',
    'mapkey.delim'=':',
    'serialization.null.format'='\\N',
    'escape.delim'='\\'
);

```

---------

Co-authored-by: morningman <morningman@163.com>
@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 ac3d64c into apache:branch-2.1 Oct 21, 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