Task 478: Default "guess datatypes" to False so importers which don't specify it (e.g. gData & Excel) aren't effected
http://code.google.com/p/google-refine/issues/detail?id=478 git-svn-id: http://google-refine.googlecode.com/svn/trunk@2541 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
83dce305cb
commit
93d6e176d6
@ -103,7 +103,7 @@ abstract public class TabularImportingParserBase extends ImportingParserBase {
|
||||
}
|
||||
}
|
||||
|
||||
boolean guessCellValueTypes = JSONUtilities.getBoolean(options, "guessCellValueTypes", true);
|
||||
boolean guessCellValueTypes = JSONUtilities.getBoolean(options, "guessCellValueTypes", false);
|
||||
|
||||
boolean storeBlankRows = JSONUtilities.getBoolean(options, "storeBlankRows", true);
|
||||
boolean storeBlankCellsAsNulls = JSONUtilities.getBoolean(options, "storeBlankCellsAsNulls", true);
|
||||
@ -172,7 +172,7 @@ abstract public class TabularImportingParserBase extends ImportingParserBase {
|
||||
project, columnNames, c, hasOurOwnColumnNames);
|
||||
|
||||
Object value = cells.get(c);
|
||||
if (value != null && value instanceof Cell) {
|
||||
if (value instanceof Cell) {
|
||||
row.setCell(column.getCellIndex(), (Cell) value);
|
||||
rowHasData = true;
|
||||
} else if (ExpressionUtils.isNonBlankData(value)) {
|
||||
|
Loading…
Reference in New Issue
Block a user