Repository: incubator-systemml
Updated Branches:
  refs/heads/master 24d0a1f7e -> af7d7f05b


[SYSTEMML-1046] Fix inconsistent handling of frame csv header quoting

Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/38954436
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/38954436
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/38954436

Branch: refs/heads/master
Commit: 389544363ff21433a247a593aa8ec0e9c70baba2
Parents: 24d0a1f
Author: Matthias Boehm <mboe...@gmail.com>
Authored: Thu Oct 13 20:27:18 2016 -0700
Committer: Matthias Boehm <mboe...@gmail.com>
Committed: Thu Oct 13 20:27:18 2016 -0700

----------------------------------------------------------------------
 .../runtime/instructions/spark/utils/FrameRDDConverterUtils.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/38954436/src/main/java/org/apache/sysml/runtime/instructions/spark/utils/FrameRDDConverterUtils.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/sysml/runtime/instructions/spark/utils/FrameRDDConverterUtils.java
 
b/src/main/java/org/apache/sysml/runtime/instructions/spark/utils/FrameRDDConverterUtils.java
index d45d201..f89117b 100644
--- 
a/src/main/java/org/apache/sysml/runtime/instructions/spark/utils/FrameRDDConverterUtils.java
+++ 
b/src/main/java/org/apache/sysml/runtime/instructions/spark/utils/FrameRDDConverterUtils.java
@@ -704,7 +704,7 @@ public class FrameRDDConverterUtils
                                String row = tmp._1().toString().trim();
                                long rowix = tmp._2();
                                if(_hasHeader && rowix == 0) { //Skip header
-                                       _colnames = 
IOUtilFunctions.splitCSV(row, _delim);
+                                       _colnames = row.split(_delim);
                                        continue;
                                }
                                if( row.startsWith(TfUtils.TXMTD_MVPREFIX) ) {

Reply via email to