diff --git a/lib/guess-model.js b/lib/guess-model.js index 923e0af..de54cd9 100644 --- a/lib/guess-model.js +++ b/lib/guess-model.js @@ -138,6 +138,10 @@ function dataToType(data, name, tablesOptions = {}) { else if (_.size(counted) === 1) { kind = top.kind; } + // If there is a string, use strin + else if (counted.STRING) { + kind = 'STRING'; + } // If there is an integer and a float, use float else if (counted.INTGER && counted.FLOAT) { kind = 'FLOAT';