-
Notifications
You must be signed in to change notification settings - Fork 28.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a3e51cc
commit f105f68
Showing
13 changed files
with
61 additions
and
1 deletion.
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
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
27 changes: 27 additions & 0 deletions
27
sql/hive/src/test/resources/golden/create_view_translate-3-30dc3e80e3873af5115e4f5e39078a13
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# col_name data_type comment | ||
|
||
key string | ||
|
||
# Detailed Table Information | ||
Database: default | ||
Owner: animal | ||
CreateTime: Mon Dec 29 00:57:55 PST 2014 | ||
LastAccessTime: UNKNOWN | ||
Protect Mode: None | ||
Retention: 0 | ||
Table Type: VIRTUAL_VIEW | ||
Table Parameters: | ||
transient_lastDdlTime 1419843475 | ||
|
||
# Storage Information | ||
SerDe Library: null | ||
InputFormat: org.apache.hadoop.mapred.SequenceFileInputFormat | ||
OutputFormat: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat | ||
Compressed: No | ||
Num Buckets: -1 | ||
Bucket Columns: [] | ||
Sort Columns: [] | ||
|
||
# View Information | ||
View Original Text: select cast(key as string) from src | ||
View Expanded Text: select cast(`src`.`key` as string) from `default`.`src` |
Empty file.
32 changes: 32 additions & 0 deletions
32
sql/hive/src/test/resources/golden/create_view_translate-5-856ea995681b18a543dc0e53b8b43a8e
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# col_name data_type comment | ||
|
||
key int | ||
value string | ||
|
||
# Detailed Table Information | ||
Database: default | ||
Owner: animal | ||
CreateTime: Mon Dec 29 00:57:55 PST 2014 | ||
LastAccessTime: UNKNOWN | ||
Protect Mode: None | ||
Retention: 0 | ||
Table Type: VIRTUAL_VIEW | ||
Table Parameters: | ||
transient_lastDdlTime 1419843475 | ||
|
||
# Storage Information | ||
SerDe Library: null | ||
InputFormat: org.apache.hadoop.mapred.SequenceFileInputFormat | ||
OutputFormat: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat | ||
Compressed: No | ||
Num Buckets: -1 | ||
Bucket Columns: [] | ||
Sort Columns: [] | ||
|
||
# View Information | ||
View Original Text: select key, value from ( | ||
select key, value from src | ||
) a | ||
View Expanded Text: select key, value from ( | ||
select `src`.`key`, `src`.`value` from `default`.`src` | ||
) `a` |
Empty file.
Empty file.
Empty file.
Empty file.