Uh oh!
There was an error while loading. Please reload this page.
Revert "[branch-2.1](hive) support hive write text table (#38549) (#4… - #40157
Conversation
… (apache#40063)" This reverts commit c6df7c2.
doris-robot
commented
Aug 29, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
yiguolei
commented
Aug 29, 2024
run buildall |
| bool BlockCompressionCodec::exceed_max_compress_len(size_t uncompressed_size) { | ||
| return uncompressed_size > std::numeric_limits<int32_t>::max(); | ||
| if (uncompressed_size > std::numeric_limits<int32_t>::max()) { | ||
| return true; |
There was a problem hiding this comment.
warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr]
be/src/util/block_compression.cpp:89:
- if (uncompressed_size > std::numeric_limits<int32_t>::max()) {- return true;- }- return false;+ return uncompressed_size > std::numeric_limits<int32_t>::max();| return &s_instance; | ||
| } | ||
| ~SnappyBlockCompression() override = default; | ||
| ~SnappyBlockCompression() override {} |
There was a problem hiding this comment.
warning: use '= default' to define a trivial destructor [modernize-use-equals-default]
| ~SnappyBlockCompression() override{} | |
| ~SnappyBlockCompression() override= default; |
| return &s_instance; | ||
| } | ||
| ~ZlibBlockCompression() override = default; | ||
| ~ZlibBlockCompression() {} |
There was a problem hiding this comment.
warning: use '= default' to define a trivial destructor [modernize-use-equals-default]
| ~ZlibBlockCompression() {} | |
| ~ZlibBlockCompression() = default; |
| return &s_instance; | ||
| } | ||
| ~ZlibBlockCompression() override = default; | ||
| ~ZlibBlockCompression() {} |
There was a problem hiding this comment.
warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override]
| ~ZlibBlockCompression() {} | |
| ~ZlibBlockCompression() override{} |
| #pragma once | ||
| #include <gen_cpp/PlanNodes_types.h> | ||
| #include <gen_cpp/parquet_types.h> |
There was a problem hiding this comment.
warning: 'gen_cpp/parquet_types.h' file not found [clang-diagnostic-error]
#include<gen_cpp/parquet_types.h>
^| private: | ||
| // disable copy constructor and copy assignment | ||
| OwnedSlice(const OwnedSlice&) = delete; |
There was a problem hiding this comment.
warning: deleted member function should be public [modernize-use-equals-delete]
OwnedSlice(const OwnedSlice&) = delete;
^| private: | ||
| // disable copy constructor and copy assignment | ||
| OwnedSlice(const OwnedSlice&) = delete; | ||
| void operator=(const OwnedSlice&) = delete; |
There was a problem hiding this comment.
warning: deleted member function should be public [modernize-use-equals-delete]
voidoperator=(const OwnedSlice&) = delete;
^| #include "vec/runtime/vcsv_transformer.h" | ||
| #include <glog/logging.h> | ||
| #include <stdlib.h> |
There was a problem hiding this comment.
warning: inclusion of deprecated C++ header 'stdlib.h'; consider using 'cstdlib' instead [modernize-deprecated-headers]
| #include<stdlib.h> | |
| #include<cstdlib> |
| #include <glog/logging.h> | ||
| #include <stdlib.h> | ||
| #include <string.h> |
There was a problem hiding this comment.
warning: inclusion of deprecated C++ header 'string.h'; consider using 'cstring' instead [modernize-deprecated-headers]
| #include<string.h> | |
| #include<cstring> |
| #include <parquet/file_writer.h> | ||
| #include <parquet/properties.h> | ||
| #include <parquet/types.h> | ||
| #include <stdint.h> |
There was a problem hiding this comment.
warning: inclusion of deprecated C++ header 'stdint.h'; consider using 'cstdint' instead [modernize-deprecated-headers]
| #include<stdint.h> | |
| #include<cstdint> |
…0063)"
This reverts commit c6df7c2.
Proposed changes
Issue Number: close #xxx