Skip to content

Conversation

@xy720
Copy link
Member

@xy720 xy720 commented May 16, 2024

Proposed changes

Issue Number: close #xxx

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 (
  ...
)

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@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.

@xy720
Copy link
Member Author

xy720 commented May 16, 2024

run buildall

@xy720
Copy link
Member Author

xy720 commented May 16, 2024

run buildall

@xy720
Copy link
Member Author

xy720 commented May 16, 2024

run cloud_p1

cambyzju
cambyzju previously approved these changes May 17, 2024
Copy link
Contributor

@cambyzju cambyzju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label May 17, 2024
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add UT or test case

@xy720 xy720 force-pushed the print-serde-properties-master branch from b414895 to c9548a5 Compare May 20, 2024 15:27
@xy720
Copy link
Member Author

xy720 commented May 20, 2024

run buildall

@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label May 20, 2024
@xy720 xy720 requested a review from morningman May 21, 2024 02:56
Copy link
Contributor

@lide-reed lide-reed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label May 21, 2024
Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@morningman morningman merged commit b2b609a into apache:master May 22, 2024
dataroaring pushed a commit that referenced this pull request May 26, 2024
…xternal-table (#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 (
  ...
)
```
morningman pushed a commit to morningman/doris that referenced this pull request Jul 1, 2024
…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 (
  ...
)
```
morningman added a commit that referenced this pull request Jul 2, 2024
…xternal-table (#34966) (#37096)

bp #34966

Co-authored-by: xy720 <22125576+xy720@users.noreply.github.com>
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants