8000 Modify maxcompute data type for float by vinoth-gojek · Pull Request #638 · caraml-dev/merlin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Modify maxcompute data type for float #638

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 10, 2025

Conversation

vinoth-gojek
Copy link
Contributor
@vinoth-gojek vinoth-gojek commented Apr 10, 2025

Description

The MR modifies datatype of prediction log table from float to Double and enable print logs by adding env variable

Modifications

  1. modifies datatype of prediction log table from float to Double

The incoming prediction logs are stored in a temp table and the temp table is inserted to the prediction log table
The temp table is created using df.persist() which only supports double and bigint (and not float and int)
So it is necessary for the prediction log table to be using double type to maintain the compatibility and avoid casting

  1. Adds Environment variable to print logs

Checklist

  • Added PR label
  • Added unit test, integration, and/or e2e tests
  • Tested locally
  • Updated documentation
  • Update Swagger spec if the PR introduce API changes
  • Regenerated Golang and Python client if the PR introduces API changes

@vinoth-gojek vinoth-gojek added the enhancement New feature or request label Apr 10, 2025
@vinoth-gojek vinoth-gojek marked this pull request as ready for review April 10, 2025 03:49
Copy link
Contributor
@deadlycoconuts deadlycoconuts left a comment

Choose a reason for hiding this comment

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

Thanks for the changes and for investigating this bug! 🚀🙏🏼

@vinoth-gojek vinoth-gojek reopened thi 8127 s Apr 10, 2025
@vinoth-gojek vinoth-gojek merged commit eb52b7f into main Apr 10, 2025
45 checks passed
@vinoth-gojek vinoth-gojek deleted the modify_maxcompute_data_type_for_float branch April 10, 2025 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0