Skip to content

Conversation

@zuochunwei
Copy link
Collaborator

@zuochunwei zuochunwei commented May 15, 2023

I have tested the reading of short decimal type column by query_benchmark

replace #244

const uint32_t SelectiveLongDecimalColumnReader::MAX_PRECISION_128;

const int64_t
SelectiveLongDecimalColumnReader::POWERS_OF_TEN[MAX_PRECISION_64 + 1] = {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use it in both Long and Short Decimal readers?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

Copy link
Collaborator

@rui-mo rui-mo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we open a PR in Gluten to test this branch? This can help ensure the CI works.

precision_ = dataType->asShortDecimal().precision();
scale_ = dataType->asShortDecimal().scale();

auto& stripe = params.stripeStreams();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const auto& ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@rui-mo rui-mo requested a review from JkSelf May 15, 2023 05:49
@JkSelf
Copy link
Collaborator

JkSelf commented May 15, 2023

Offline discussed with @zuochunwei to open one PR to test.

@zuochunwei
Copy link
Collaborator Author

Offline discussed with @zuochunwei to open one PR to test.

apache/incubator-gluten#1613

@zuochunwei
Copy link
Collaborator Author

Can we open a PR in Gluten to test this branch? This can help ensure the CI works.

apache/incubator-gluten#1613

@zhejiangxiaomai zhejiangxiaomai merged commit 6a43f9a into oap-project:main May 15, 2023
zhejiangxiaomai added a commit to zhejiangxiaomai/velox that referenced this pull request May 18, 2023
add decimal column reader support.
---------

Co-authored-by: zuochunwei <zuochunwei@meituan.com>
Co-authored-by: zhejiangxiaomai <zhenhui.zhao@intel.com>
zhejiangxiaomai added a commit to zhejiangxiaomai/velox that referenced this pull request May 31, 2023
add decimal column reader support.
---------

Co-authored-by: zuochunwei <zuochunwei@meituan.com>
Co-authored-by: zhejiangxiaomai <zhenhui.zhao@intel.com>
zhejiangxiaomai added a commit to zhejiangxiaomai/velox that referenced this pull request May 31, 2023
relative pr:

add decimal column reader support oap-project#254
Add utility method MemoryUsageTracker::highUsage() oap-project#227
Support parquet read case sensitive option oap-project#126
Make varchar and varbinary compatible oap-project#115
Create folder if not exits on HDFS write oap-project#267
zhejiangxiaomai added a commit to zhejiangxiaomai/velox that referenced this pull request May 31, 2023
relative pr:

add decimal column reader support oap-project#254
Add utility method MemoryUsageTracker::highUsage() oap-project#227
Support parquet read case sensitive option oap-project#126
Make varchar and varbinary compatible oap-project#115
Create folder if not exits on HDFS write oap-project#267
@zuochunwei zuochunwei deleted the mydecimal branch June 19, 2023 08:19
zhejiangxiaomai added a commit to zhejiangxiaomai/velox that referenced this pull request Jun 25, 2023
add decimal column reader support.
---------

Co-authored-by: zuochunwei <zuochunwei@meituan.com>
Co-authored-by: zhejiangxiaomai <zhenhui.zhao@intel.com>
zhejiangxiaomai added a commit to zhejiangxiaomai/velox that referenced this pull request Jun 25, 2023
add decimal column reader support.
---------

Co-authored-by: zuochunwei <zuochunwei@meituan.com>
Co-authored-by: zhejiangxiaomai <zhenhui.zhao@intel.com>
zhejiangxiaomai added a commit to zhejiangxiaomai/velox that referenced this pull request Jun 26, 2023
add decimal column reader support.
---------

Co-authored-by: zuochunwei <zuochunwei@meituan.com>
Co-authored-by: zhejiangxiaomai <zhenhui.zhao@intel.com>
zhejiangxiaomai added a commit to zhejiangxiaomai/velox that referenced this pull request Jun 27, 2023
add decimal column reader support.
---------

Co-authored-by: zuochunwei <zuochunwei@meituan.com>
Co-authored-by: zhejiangxiaomai <zhenhui.zhao@intel.com>
zhejiangxiaomai added a commit to zhejiangxiaomai/velox that referenced this pull request Jul 3, 2023
relative pr:

add decimal column reader support oap-project#254
Add utility method MemoryUsageTracker::highUsage() oap-project#227
Support parquet read case sensitive option oap-project#126
Make varchar and varbinary compatible oap-project#115
Create folder if not exits on HDFS write oap-project#267
zhejiangxiaomai added a commit to zhejiangxiaomai/velox that referenced this pull request Jul 4, 2023
relative pr:

add decimal column reader support oap-project#254
Add utility method MemoryUsageTracker::highUsage() oap-project#227
Support parquet read case sensitive option oap-project#126
Make varchar and varbinary compatible oap-project#115
Create folder if not exits on HDFS write oap-project#267
zhejiangxiaomai added a commit to zhejiangxiaomai/velox that referenced this pull request Jul 11, 2023
relative pr:

add decimal column reader support oap-project#254
Add utility method MemoryUsageTracker::highUsage() oap-project#227
Support parquet read case sensitive option oap-project#126
Make varchar and varbinary compatible oap-project#115
Create folder if not exits on HDFS write oap-project#267
zhejiangxiaomai added a commit to zhejiangxiaomai/velox that referenced this pull request Jul 12, 2023
relative pr:

add decimal column reader support oap-project#254
Add utility method MemoryUsageTracker::highUsage() oap-project#227
Support parquet read case sensitive option oap-project#126
Make varchar and varbinary compatible oap-project#115
Create folder if not exits on HDFS write oap-project#267
zhejiangxiaomai added a commit to zhejiangxiaomai/velox that referenced this pull request Jul 12, 2023
relative pr:

add decimal column reader support oap-project#254
Add utility method MemoryUsageTracker::highUsage() oap-project#227
Support parquet read case sensitive option oap-project#126
Make varchar and varbinary compatible oap-project#115
Create folder if not exits on HDFS write oap-project#267
zhejiangxiaomai added a commit to zhejiangxiaomai/velox that referenced this pull request Jul 17, 2023
relative pr:

add decimal column reader support oap-project#254
Add utility method MemoryUsageTracker::highUsage() oap-project#227
Support parquet read case sensitive option oap-project#126
Make varchar and varbinary compatible oap-project#115
Create folder if not exits on HDFS write oap-project#267
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants