You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by om...@apache.org on 2018/05/21 17:28:35 UTC
orc git commit: More fixes where we used ```... and we need to
separating them onto a new line.
Repository: orc
Updated Branches:
refs/heads/master a9fe311d2 -> 064bca381
More fixes where we used ```... and we need to separating them
onto a new line.
Signed-off-by: Owen O'Malley <om...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/orc/repo
Commit: http://git-wip-us.apache.org/repos/asf/orc/commit/064bca38
Tree: http://git-wip-us.apache.org/repos/asf/orc/tree/064bca38
Diff: http://git-wip-us.apache.org/repos/asf/orc/diff/064bca38
Branch: refs/heads/master
Commit: 064bca38117d3ea2133297a122d168a0cf8823f9
Parents: a9fe311
Author: Owen O'Malley <om...@apache.org>
Authored: Mon May 21 10:27:26 2018 -0700
Committer: Owen O'Malley <om...@apache.org>
Committed: Mon May 21 10:27:26 2018 -0700
----------------------------------------------------------------------
site/_docs/acid.md | 3 ++-
site/_docs/hive-config.md | 3 ++-
site/_docs/hive-ddl.md | 15 ++++++++++-----
site/_docs/types.md | 3 ++-
site/specification/ORCv1.md | 3 ++-
site/specification/ORCv2.md | 3 ++-
6 files changed, 20 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/orc/blob/064bca38/site/_docs/acid.md
----------------------------------------------------------------------
diff --git a/site/_docs/acid.md b/site/_docs/acid.md
index a089ca5..3d7dce5 100644
--- a/site/_docs/acid.md
+++ b/site/_docs/acid.md
@@ -73,7 +73,8 @@ are the operation (insert, update, or delete), the triple that
uniquely identifies the row (originalTransaction, bucket, rowId), and
the current transaction.
-```struct<
+```
+struct<
operation: int,
originalTransaction: bigInt,
bucket: int,
http://git-wip-us.apache.org/repos/asf/orc/blob/064bca38/site/_docs/hive-config.md
----------------------------------------------------------------------
diff --git a/site/_docs/hive-config.md b/site/_docs/hive-config.md
index b463a6b..7a330cb 100644
--- a/site/_docs/hive-config.md
+++ b/site/_docs/hive-config.md
@@ -22,7 +22,8 @@ orc.bloom.filter.fpp | 0.05 | bloom filter false positive rate
For example, to create an ORC table without high level compression:
-```CREATE TABLE istari (
+```
+CREATE TABLE istari (
name STRING,
color STRING
) STORED AS ORC TBLPROPERTIES ("orc.compress"="NONE");
http://git-wip-us.apache.org/repos/asf/orc/blob/064bca38/site/_docs/hive-ddl.md
----------------------------------------------------------------------
diff --git a/site/_docs/hive-ddl.md b/site/_docs/hive-ddl.md
index b3af49d..2fbb8c2 100644
--- a/site/_docs/hive-ddl.md
+++ b/site/_docs/hive-ddl.md
@@ -7,7 +7,8 @@ permalink: /docs/hive-ddl.html
ORC is well integrated into Hive, so storing your istari table as ORC
is done by adding "STORED AS ORC".
-```CREATE TABLE istari (
+```
+CREATE TABLE istari (
name STRING,
color STRING
) STORED AS ORC;
@@ -16,22 +17,26 @@ is done by adding "STORED AS ORC".
To modify a table so that new partitions of the istari table are
stored as ORC files:
-```ALTER TABLE istari SET FILEFORMAT ORC;
+```
+ALTER TABLE istari SET FILEFORMAT ORC;
```
As of Hive 0.14, users can request an efficient merge of small ORC files
together by issuing a CONCATENATE command on their table or partition. The
files will be merged at the stripe level without reserialization.
-```ALTER TABLE istari [PARTITION partition_spec] CONCATENATE;
+```
+ALTER TABLE istari [PARTITION partition_spec] CONCATENATE;
```
To get information about an ORC file, use the orcfiledump command.
-```% hive --orcfiledump <path_to_file>
+```
+% hive --orcfiledump <path_to_file>
```
As of Hive 1.1, to display the data in the ORC file, use:
-```% hive --orcfiledump -d <path_to_file>
+```
+% hive --orcfiledump -d <path_to_file>
```
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/orc/blob/064bca38/site/_docs/types.md
----------------------------------------------------------------------
diff --git a/site/_docs/types.md b/site/_docs/types.md
index 6dc16ad..a14adf4 100644
--- a/site/_docs/types.md
+++ b/site/_docs/types.md
@@ -50,7 +50,8 @@ columns have one child column for each of the variants.
Given the following definition of the table Foobar, the columns in the
file would form the given tree.
-```create table Foobar (
+```
+create table Foobar (
myInt int,
myMap map<string,
struct<myString : string,
http://git-wip-us.apache.org/repos/asf/orc/blob/064bca38/site/specification/ORCv1.md
----------------------------------------------------------------------
diff --git a/site/specification/ORCv1.md b/site/specification/ORCv1.md
index 5babb26..47cba3e 100644
--- a/site/specification/ORCv1.md
+++ b/site/specification/ORCv1.md
@@ -162,7 +162,8 @@ the compound types have subcolumns under them.
The equivalent Hive DDL would be:
-```create table Foobar (
+```
+create table Foobar (
myInt int,
myMap map<string,
struct<myString : string,
http://git-wip-us.apache.org/repos/asf/orc/blob/064bca38/site/specification/ORCv2.md
----------------------------------------------------------------------
diff --git a/site/specification/ORCv2.md b/site/specification/ORCv2.md
index 0bd9aa4..829507f 100644
--- a/site/specification/ORCv2.md
+++ b/site/specification/ORCv2.md
@@ -182,7 +182,8 @@ the compound types have subcolumns under them.
The equivalent Hive DDL would be:
-```create table Foobar (
+```
+create table Foobar (
myInt int,
myMap map<string,
struct<myString : string,