comphead commented on code in PR #12564:
URL: https://github.com/apache/datafusion/pull/12564#discussion_r1769622225
##########
datafusion/core/src/dataframe/mod.rs:
##########
@@ -344,11 +376,26 @@ impl DataFrame {
/// ```
/// # use datafusion::prelude::*;
/// # use datafusion::error::Result;
+ /// # use datafusion_common::assert_batches_sorted_eq;
/// # #[tokio::main]
/// # async fn main() -> Result<()> {
/// let ctx = SessionContext::new();
/// let df = ctx.read_json("tests/data/unnest.json",
NdJsonReadOptions::default()).await?;
+ /// // expend into multiple columns if it's json array, flatten field name
if it's nested structure
Review Comment:
```suggestion
/// // expand into multiple columns if it's json array, flatten field
name if it's nested structure
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]