[ 
https://issues.apache.org/jira/browse/FLINK-34703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Colten Pilgreen updated FLINK-34703:
------------------------------------
    Description: 
This correction to the docs actually affects every version of the FileSystems 
documentation that utilizes the ORC Format.

I have created a Pull Request to improve the docs for Scala users. As it stands 
now if someone were to pull the code out of the Scala docs and tried to use it, 
only the first row will ever be written. This is because the Scala example has 
a hard coded "batch.row + 1", but batch.row is never incremented.

 

https://github.com/apache/flink/pull/24509

  was:
This correction to the docs actually affects every version of the FileSystems 
documentation that utilizes the ORC Format.

I have created a Pull Request to improve the docs for Scala users. As it stands 
now if someone were to pull the code out of the Scala docs and tried to use it, 
only the first row will ever be written. This is because the Scala example has 
a hard coded "batch.row + 1", but batch.row is never incremented.


> Correct Scala Example for ORC Bulker Writer's Vectorizer
> --------------------------------------------------------
>
>                 Key: FLINK-34703
>                 URL: https://issues.apache.org/jira/browse/FLINK-34703
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / FileSystem, Formats (JSON, Avro, Parquet, 
> ORC, SequenceFile)
>    Affects Versions: 1.18.1
>            Reporter: Colten Pilgreen
>            Priority: Minor
>              Labels: pull-request-available
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> This correction to the docs actually affects every version of the FileSystems 
> documentation that utilizes the ORC Format.
> I have created a Pull Request to improve the docs for Scala users. As it 
> stands now if someone were to pull the code out of the Scala docs and tried 
> to use it, only the first row will ever be written. This is because the Scala 
> example has a hard coded "batch.row + 1", but batch.row is never incremented.
>  
> https://github.com/apache/flink/pull/24509



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to