apache / apache/hudi

Spark SQL should allow type promotion without using schema on read

Open
#16,548 1 comment 0 reactions 1 assignee Assigned to @xushiyan View on GitHub
area:sql from-jira priority:high type:bug
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

{code:java}
CREATE TABLE hudi_table (
ts BIGINT,
uuid STRING,
rider INT,
driver STRING,
fare DOUBLE,
city STRING
) USING HUDI
PARTITIONED BY (city);

alter table hudi_table alter column rider type BIGINT;

ALTER TABLE CHANGE COLUMN is not supported for changing column 'rider' with type 'IntegerType' to 'rider' with type 'LongType' {code}

## JIRA info

- Link: https://issues.apache.org/jira/browse/HUDI-7984
- Type: Bug
- Fix version(s):
- 1.1.0

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.