You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by im...@apache.org on 2015/04/24 20:46:49 UTC
[82/85] [abbrv] incubator-asterixdb-hyracks git commit: - Fixed Type
Casting issue - Reorganized duplicated internal class in the
DelimitedDataParser and DelimitedDataParserFactory - Prevented a user from
creating an inverted index on a dataset with a va
- Fixed Type Casting issue
- Reorganized duplicated internal class in the DelimitedDataParser and DelimitedDataParserFactory
- Prevented a user from creating an inverted index on a dataset with a variable-length PK
Change-Id: Ice2027388bbd1641e94fa97118e0a3b2b6415461
Reviewed-on: http://fulliautomatix.ics.uci.edu:8443/231
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Till Westmann <we...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-hyracks/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-hyracks/commit/9b3b5467
Tree: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-hyracks/tree/9b3b5467
Diff: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-hyracks/diff/9b3b5467
Branch: refs/heads/master
Commit: 9b3b54672a3a0215c6e1da827a30588e19fc1cd2
Parents: e0f048d
Author: Taewoo Kim <wa...@gmail.com>
Authored: Wed Mar 4 11:47:29 2015 -0800
Committer: Ian Maxon <im...@uci.edu>
Committed: Wed Mar 4 20:45:22 2015 -0800
----------------------------------------------------------------------
.../dataflow/std/file/FieldCursorForDelimitedDataParser.java | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-hyracks/blob/9b3b5467/hyracks/hyracks-dataflow-std/src/main/java/edu/uci/ics/hyracks/dataflow/std/file/FieldCursorForDelimitedDataParser.java
----------------------------------------------------------------------
diff --git a/hyracks/hyracks-dataflow-std/src/main/java/edu/uci/ics/hyracks/dataflow/std/file/FieldCursorForDelimitedDataParser.java b/hyracks/hyracks-dataflow-std/src/main/java/edu/uci/ics/hyracks/dataflow/std/file/FieldCursorForDelimitedDataParser.java
index c6fd654..69ea0b1 100644
--- a/hyracks/hyracks-dataflow-std/src/main/java/edu/uci/ics/hyracks/dataflow/std/file/FieldCursorForDelimitedDataParser.java
+++ b/hyracks/hyracks-dataflow-std/src/main/java/edu/uci/ics/hyracks/dataflow/std/file/FieldCursorForDelimitedDataParser.java
@@ -119,6 +119,7 @@ public class FieldCursorForDelimitedDataParser {
} else if (ch == '\n' && !startedQuote) {
start = p + 1;
state = State.EOR;
+ lineCount++;
lastDelimiterPosition = p;
break;
} else if (ch == '\r' && !startedQuote) {
@@ -142,6 +143,7 @@ public class FieldCursorForDelimitedDataParser {
if (ch == '\n' && !startedQuote) {
++start;
state = State.EOR;
+ lineCount++;
} else {
state = State.IN_RECORD;
return true;