You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "JackGoldsworth (via GitHub)" <gi...@apache.org> on 2023/06/06 20:16:06 UTC
[GitHub] [iceberg] JackGoldsworth opened a new issue, #7786: Iceberg Schema moving inner column after adding new StructType doesn't work.
JackGoldsworth opened a new issue, #7786:
URL: https://github.com/apache/iceberg/issues/7786
### Apache Iceberg version
1.1.0
### Query engine
None
### Please describe the bug 🐞
Say I have the following Schema:
```
new StructType()
.add("value", StringType)
.add("value1", DoubleType)
```
and I perform a `unionByNameWith` with the following struct (after converting it to an Iceberg Schema using `SparkSchemaUtil`).
```
new StructType()
.add("value", StringType)
.add("value1", DoubleType)
.add("value3", StructType(Seq(
StructField("innerValue1", StringType),
StructField("innerValue2", StringType)
)))
)))
```
After that operation is finished, if I try to perform a `moveFirst` or `moveAfter` on `innerValue1`, I will get an error saying that the column `value3.innerValue1` cannot be found.
However, if I print out the resulting schema after the union the column is clearly there.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Iceberg Schema moving inner column after adding new StructType doesn't work. [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7786:
URL: https://github.com/apache/iceberg/issues/7786#issuecomment-1837652748
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Iceberg Schema moving inner column after adding new StructType doesn't work. [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #7786: Iceberg Schema moving inner column after adding new StructType doesn't work.
URL: https://github.com/apache/iceberg/issues/7786
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Iceberg Schema moving inner column after adding new StructType doesn't work. [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7786:
URL: https://github.com/apache/iceberg/issues/7786#issuecomment-2323082762
This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org