hkpeaks commented on issue #35688:
URL: https://github.com/apache/arrow/issues/35688#issuecomment-1565830254

        rdr, err := file.OpenParquetFile(config.File, false)
        if err != nil {
                fmt.Fprintln(os.Stderr, "error opening parquet file: ", err)
                os.Exit(1)
        }       
   
        rg := rdr.RowGroup(0)
   
        col, err := rg.Column(1)
   
        println("Descriptor: ", col.Descriptor())
        println("Err: ", col.Err())
        println("HasNext: ", col.HasNext())
        println("Type: ", col.Type())
        println("Descriptor-ColumnOrder: ", col.Descriptor().ColumnOrder())
        println("Descriptor-ColumnPath: ", col.Descriptor().ColumnPath())
        println("Descriptor-ConvertedTyp:", col.Descriptor().ConvertedType())
   
   Results:
   
   
   D:\Go\Parquet\OpenParquetFile>run v0.7.1.parquet
   Descriptor:  0xc00005daa0
   Err:  (0x0,0x0)
   HasNext:  true
   Type:  6
   Descriptor-ColumnOrder:  0xc00000a028
   Descriptor-ColumnPath:  [1/1]0xc00005dac0
   Descriptor-ConvertedTyp: 0
   
   ----------------------------------------------------------
   How can I read all cell value from RowGroup(0) & Column(1) ?
   


-- 
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]

Reply via email to