Skip to content

Conversation

@ilicmarkodb
Copy link
Contributor

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Description

Fix toString in StringType to include collation information.

How was this patch tested?

New unit tests.

Does this PR introduce any user-facing changes?

No.

Comment on lines -66 to +72
// DecimalType is eligible but since its string includes scale + precision it needs to
// be matched separately
dataType instanceof DecimalType;
// DecimalType is eligible, but since its string includes scale + precision, it needs to
// be matched separately.
dataType instanceof DecimalType
||
// StringType is eligible, but since its string can include collation info, it needs to
// be matched separately.
dataType instanceof StringType;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe we should follow up on this and make this a method on DataType?

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.

2 participants