forked from JoshRosen/hive
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HIVE-13361: Orc concatenation should enforce the compression buffer s…
…ize (Prasanth Jayachandran reviewed by Gopal V)
- Loading branch information
Showing
7 changed files
with
1,295 additions
and
12 deletions.
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
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
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
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
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,51 @@ | ||
CREATE TABLE `alltypesorc3xcols`( | ||
`atinyint` tinyint, | ||
`asmallint` smallint, | ||
`aint` int, | ||
`abigint` bigint, | ||
`afloat` float, | ||
`adouble` double, | ||
`astring1` string, | ||
`astring2` string, | ||
`atimestamp1` timestamp, | ||
`atimestamp2` timestamp, | ||
`aboolean1` boolean, | ||
`aboolean2` boolean, | ||
`btinyint` tinyint, | ||
`bsmallint` smallint, | ||
`bint` int, | ||
`bbigint` bigint, | ||
`bfloat` float, | ||
`bdouble` double, | ||
`bstring1` string, | ||
`bstring2` string, | ||
`btimestamp1` timestamp, | ||
`btimestamp2` timestamp, | ||
`bboolean1` boolean, | ||
`bboolean2` boolean, | ||
`ctinyint` tinyint, | ||
`csmallint` smallint, | ||
`cint` int, | ||
`cbigint` bigint, | ||
`cfloat` float, | ||
`cdouble` double, | ||
`cstring1` string, | ||
`cstring2` string, | ||
`ctimestamp1` timestamp, | ||
`ctimestamp2` timestamp, | ||
`cboolean1` boolean, | ||
`cboolean2` boolean) stored as ORC; | ||
|
||
load data local inpath '../../data/files/alltypesorc3xcols' into table alltypesorc3xcols; | ||
load data local inpath '../../data/files/alltypesorc3xcols' into table alltypesorc3xcols; | ||
|
||
select count(*) from alltypesorc3xcols; | ||
select sum(hash(*)) from alltypesorc3xcols; | ||
|
||
alter table alltypesorc3xcols concatenate; | ||
|
||
select count(*) from alltypesorc3xcols; | ||
select sum(hash(*)) from alltypesorc3xcols; | ||
|
||
SET hive.exec.post.hooks=org.apache.hadoop.hive.ql.hooks.PostExecOrcFileDump; | ||
select * from alltypesorc3xcols limit 1; |
Oops, something went wrong.