Skip to content

Conversation

@TCeason
Copy link
Collaborator

@TCeason TCeason commented Nov 6, 2025

Fixed procedure argument type parsing to correctly handle types with nested parentheses like Decimal(4, 2).

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

  • Fixed procedure argument type parsing to correctly handle complex types with parentheses (e.g., Decimal(4, 2))

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

This change is Reviewable

Fixed procedure argument type parsing to correctly handle types with
nested parentheses like Decimal(4, 2).
@github-actions github-actions bot added the pr-bugfix this PR patches a bug in codebase label Nov 6, 2025
@TCeason TCeason requested a review from sundy-li November 6, 2025 02:43
This change improves type safety by preserving TypeName information
from the parser to the binder, avoiding unnecessary string round-trip
conversions when handling complex types like Decimal(4, 2).
@TCeason TCeason force-pushed the fix-decimal-procedure-arg branch from 9f5783e to b465ed1 Compare November 6, 2025 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix this PR patches a bug in codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant