You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2012/06/25 18:55:44 UTC

[jira] [Closed] (ANY23-93) NQuadsParser column numbers after first row are 0-index-based instead of 1-index-based

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

Lewis John McGibbney closed ANY23-93.
-------------------------------------


Bulk close for 0.7.0-incubating release
                
> NQuadsParser column numbers after first row are 0-index-based instead of 1-index-based
> --------------------------------------------------------------------------------------
>
>                 Key: ANY23-93
>                 URL: https://issues.apache.org/jira/browse/ANY23-93
>             Project: Apache Any23
>          Issue Type: Bug
>            Reporter: Peter Ansell
>
> nextRow has a bug currently where it resets the column number to 0 instead of 1, which results in incorrect column numbers after the first row. The first row is okay as it is setup initially to 1 in the parse method before nextRow is called.
> Patch is a simple edit to modify nextRow to start like:
>     private void nextRow() {
>         col = 1;
> There will also be edits needed to the test suite to fix expected column numbers that are then off by one in testParserWithAllCases and testParserWithRealData

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira