Skip to content

[chore](multi catalog) Print serde properties when show create hive-external-table (#34966)#37096

Merged
morningman merged 1 commit intoapache:branch-2.1from
morningman:21_bp34966
Jul 2, 2024
Merged

[chore](multi catalog) Print serde properties when show create hive-external-table (#34966)#37096
morningman merged 1 commit intoapache:branch-2.1from
morningman:21_bp34966

Conversation

@morningman
Copy link
Copy Markdown
Contributor

bp #34966

…xternal-table (apache#34966)

before:

```
CREATE TABLE `test`(
  `id` int,
  `name` string)
ROW FORMAT SERDE
  'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'
STORED AS INPUTFORMAT
  'org.apache.hadoop.mapred.TextInputFormat'
OUTPUTFORMAT
  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'
LOCATION
  'hdfs://HDFS1012837/usr/hive/warehouse/test.db/test'
TBLPROPERTIES (
  ...
)
```

after:

```
CREATE TABLE `test`(
  `id` int,
  `name` string)
ROW FORMAT SERDE
  'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'
WITH SERDEPROPERTIES (
  'serialization.format' = ',',
  'field.delim' = ',')
STORED AS INPUTFORMAT
  'org.apache.hadoop.mapred.TextInputFormat'
OUTPUTFORMAT
  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'
LOCATION
  'hdfs://HDFS1012837/usr/hive/warehouse/test.db/test'
TBLPROPERTIES (
  ...
)
```
@doris-robot
Copy link
Copy Markdown

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
Copy link
Copy Markdown
Contributor Author

run buildall

@morningman morningman merged commit a9764b9 into apache:branch-2.1 Jul 2, 2024
morningman added a commit to morningman/doris that referenced this pull request Jul 9, 2024
…xternal-table (apache#34966) (apache#37096)

bp apache#34966

Co-authored-by: xy720 <22125576+xy720@users.noreply.github.com>
@yiguolei yiguolei mentioned this pull request Jul 19, 2024
1 task
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