Closed singlewind closed 1 year ago
That shouldn't be a problem. book
will become a column inside the ref
struct. I tried it now and it works fine. I get two rows, and a schema like
root
|-- id: long (nullable = true)
|-- name: string (nullable = true)
|-- ref: struct (nullable = true)
| |-- book: long (nullable = true)
@srowen, you are right. I may can use schema to remove the unwanted element. I will try. Thank you.
No, I'm saying it works as-is. I do not see the behavior you observe.
We are trying to fetch elements who may have duplicate tag names. Below is the sample.
When we use rowTag as
book
. It will fetch 3 rows. I wonder whether we have a solution for this?