Skip to content

Conversation

@Yohahaha
Copy link
Contributor

@Yohahaha Yohahaha commented Jan 6, 2026

Purpose

As title.

Linked issue: close #xxx

Brief change log

Tests

org.apache.fluss.spark.SparkCatalogTest

API and Format

Documentation

@wuchong
Copy link
Member

wuchong commented Jan 11, 2026

@Yohahaha #2313 has been merged, could you rebase this pull request?

@Yohahaha
Copy link
Contributor Author

Error:  Errors: 
Error:    FlussAuthorizationITCase.testRebalance:874 ? Execution org.apache.fluss.except...

@wuchong

private def toInternalRow(
partitionSpec: PartitionSpec,
partitionSchema: StructType): InternalRow = {
val row = new SpecificInternalRow(partitionSchema)
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's keep it here temporarily. I will move this to other place in to support batch read PR later.

sql(s"INSERT INTO t values(1, 'a', 'a', 1), (2, 'b', 'a', 2), (3, 'c', 'c', 3)")

var expect = Seq(Row("pt1=a/pt2=1"), Row("pt1=a/pt2=2"), Row("pt1=c/pt2=3"))
checkAnswer(sql(s"SHOW PARTITIONS t"), expect)
Copy link
Contributor

Choose a reason for hiding this comment

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

checkAnswer(sql(s"SHOW PARTITIONS t"), Row("pt1=a/pt2=1") :: Row("pt1=a/pt2=2") :: Row("pt1=c/pt2=3") :: Nil)

@YannByron
Copy link
Contributor

LGTM.

@Yohahaha
Copy link
Contributor Author

kindly ping @wuchong

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.

3 participants