Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

TAJO-1723: INSERT INTO statement should allow nested fields as target columns.#668

Closed
hyunsik wants to merge 7 commits into
apache:masterfrom
hyunsik:TAJO-1723
Closed

TAJO-1723: INSERT INTO statement should allow nested fields as target columns.#668
hyunsik wants to merge 7 commits into
apache:masterfrom
hyunsik:TAJO-1723

Conversation

@hyunsik
Copy link
Copy Markdown
Member

@hyunsik hyunsik commented Jul 30, 2015

This patch improve INSERT INTO statement to allow nested fields as target columns as follows:

CREATE TABLE X (rowkey TEXT, cf1 RECORD (v1 int, v2 int)); INSERT INTO X (rowkey, cf1.v1, cf2.v1) SELECT x, y, z FROM t2

hyunsik added 4 commits July 30, 2015 20:00
 * Improve SQL parser to recognize nested target fields in INSERT INTO statement.
 * Add workaround for hanging TaskContainer.
 * Improve logical planner to recognize nested target fields in INSERT INTO statement.
@hyunsik
Copy link
Copy Markdown
Member Author

hyunsik commented Jul 30, 2015

TestSelectNestedRecord contains some insertion tests. Its purpose is not matched to the class name. I wanted to merge all unit tests related to nested fields into one test. Later, I'll move them into more proper one.

@jinossy
Copy link
Copy Markdown
Member

jinossy commented Aug 4, 2015

+1 Looks great to me

@asfgit asfgit closed this in a94936a Aug 4, 2015
@hyunsik hyunsik deleted the TAJO-1723 branch August 20, 2015 06:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants