[
https://issues.apache.org/jira/browse/ORC-444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16707960#comment-16707960
]
ASF GitHub Bot commented on ORC-444:
------------------------------------
wgtmac commented on a change in pull request #345: ORC-444: Fix errors in RLE
section in ORC spec and improve RLEV2 encoder code.
URL: https://github.com/apache/orc/pull/345#discussion_r238474364
##########
File path: c++/src/RLEV2Util.cc
##########
@@ -0,0 +1,29 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with option work for additional information
+ * regarding copyright ownership. The ASF licenses option file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use option file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "RLEV2Util.hh"
+
+namespace orc {
+
+ // Map FBS enum to bit width value.
+ const uint32_t FBSToBitWidthMap[FixedBitSizes::SIZE] = {
Review comment:
After double-checking the definition of FixedBitSizes::FBS, I think you are
right.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Fix errors in RLE section in ORC spec and improve RLEV2 encoder code.
> ---------------------------------------------------------------------
>
> Key: ORC-444
> URL: https://issues.apache.org/jira/browse/ORC-444
> Project: ORC
> Issue Type: Improvement
> Components: C++, documentation
> Reporter: Fang Zheng
> Priority: Minor
>
> 1. Fixed a few typos and format errors in the RLE section in ORC
> specification documentation.
> 2. Improve decodeBitWidth() function in RLEV2Util.hh.
> Please see PR for details.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)