Skip to content

Extend MongoDB connector support binData#23084

Closed
exxiang wants to merge 170 commits intoprestodb:masterfrom
exxiang:mongodb-support-bindata
Closed

Extend MongoDB connector support binData#23084
exxiang wants to merge 170 commits intoprestodb:masterfrom
exxiang:mongodb-support-bindata

Conversation

@exxiang
Copy link
Contributor

@exxiang exxiang commented Jun 26, 2024

Description

Extend MongoDB connector support binData

Motivation and Context

Extend MongoDB connector support [binData] #23083

Impact

Test Plan

Contributor checklist

  • Please make sure your submission complies with our development, formatting, commit message, and attribution guidelines.
  • PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced.
  • Documented new properties (with its default value), SQL syntax, functions, or other functionality.
  • If release notes are required, they follow the release notes guidelines.
  • Adequate tests were added if applicable.
  • CI passed.

Release Notes

Please follow release notes guidelines and fill in the release notes below.


== NO RELEASE NOTE ==

@exxiang exxiang requested a review from a team as a code owner June 26, 2024 08:34
@exxiang exxiang requested a review from presto-oss June 26, 2024 08:34
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jun 26, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

Copy link
Contributor

@elharo elharo left a comment

Choose a reason for hiding this comment

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

This needs tests

@exxiang
Copy link
Contributor Author

exxiang commented Jun 27, 2024

This needs tests

I have add tests. Please preview again. thank u

@tdcmeehan tdcmeehan self-assigned this Jul 2, 2024
@tdcmeehan
Copy link
Contributor

Thanks @exxiang !

@exxiang
Copy link
Contributor Author

exxiang commented Jul 3, 2024

Thanks @exxiang !

you are welcome

@tdcmeehan
Copy link
Contributor

@exxiang can you please squash the commits?

hantangwangd and others added 23 commits August 5, 2024 17:14
Math function `round(x, d)` returns wrong results when `x * (d^10)` is out of the range [Long.MIN_VALUE, Long.MAX_VALUE]. For those input, the result will be capped at `Long.MIN_VALUE/d` or `Long.MAX_VALUE/d`.

If `x * (d^10)` is larger than Long.MAX_VALUE or smaller than Long.MIN_VALUE, it should be converted into `BigDecimal` to ensure an accurate result.
The error message for invalid cast from REAL ->
BIGINT/INTEGER/SMALLINT/TINYINT was previously returning the integer
bits underlying the float instead of the float value itself. This fixes
that to use the float value in the error message. For example, casting
a NaN value to bigint that was represented as 0xFFC00000 would fail
with the message "Unable to cast -4194304 to bigint".  Now the error
message will say "Unable to cast NaN to bigint".
In this commit, we address the issue where 'presto_protocol.cpp'
and 'presto_protocol.h' files change even when there are no new Java
side changes, which occurs every time 'make presto_protocol' is
executed
Update docker compose scripts for docker compose v2, as legacy
docker-compose v1 is no longer supported for github actions.
@exxiang
Copy link
Contributor Author

exxiang commented Aug 5, 2024

@exxiang can you please squash the commits?

please tell me, my squash is it ok?

@tdcmeehan
Copy link
Contributor

@exxiang it is not, as there are 167 unrelated commits. This guide may help: https://www.freecodecamp.org/news/git-squash-commits/

@exxiang exxiang closed this Aug 6, 2024
@exxiang exxiang deleted the mongodb-support-bindata branch August 6, 2024 03:20
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.