Skip to content

<Vishal> Decimal128Data, scale added.#73

Merged
vishale6x merged 4 commits intomainfrom
prod/2.1
Oct 8, 2025
Merged

<Vishal> Decimal128Data, scale added.#73
vishale6x merged 4 commits intomainfrom
prod/2.1

Conversation

@vishale6x
Copy link
Contributor

No description provided.

@srinath-prabhu srinath-prabhu requested a review from Copilot October 7, 2025 13:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds scale support to Decimal128 data types in the e6data Python connector. The main purpose is to enhance decimal precision handling by adding a scale parameter to both data structures and constant data structures for Decimal128 values.

Key changes:

  • Added scale field to Decimal128Data and NumericDecimal128ConstantData structures in Thrift definitions
  • Updated Python code to handle the new scale parameter in decimal conversion functions
  • Enhanced debugging capabilities with comprehensive logging configuration

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
e6x_vector.thrift Added scale field (i32) to Decimal128Data and NumericDecimal128ConstantData structs
e6data_python_connector/e6x_vector/ttypes.py Updated generated Thrift classes to include scale parameter handling in constructors, read/write methods, and thrift_spec
e6data_python_connector/e6data_grpc.py Added comprehensive debug logging configuration with gRPC tracing support
e6data_python_connector/datainputstream.py Modified decimal conversion functions to accept and use scale parameter for proper decimal precision
README.md Added debugging and troubleshooting documentation section

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

@Yashraje6x Yashraje6x left a comment

Choose a reason for hiding this comment

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

Approved

@vishale6x vishale6x merged commit a6cd913 into main Oct 8, 2025
@vishale6x vishale6x deleted the prod/2.1 branch October 8, 2025 06:12
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