Allow dots in column names to be cartodbfied

This fixes #6144 of cartodb
pull/180/head
Javier Goizueta 9 years ago
parent e99231252e
commit ea9503bd32

@ -319,6 +319,15 @@ SELECT CDB_CartodbfyTableCheck('test', 'Table with non unique and null cartodb_i
SELECT cartodb_id, cartodb_id_0 from test;
DROP TABLE test;
CREATE TABLE test (
name varchar,
"first.value" integer,
"second.value" integer
);
INSERT INTO test VALUES ('one', 1, 2), ('two', 3, 4);
SELECT CDB_CartodbfyTableCheck('test', 'Table with dots in name columns (cartodb #6114)');
SELECT name, "first.value" from test;
DROP TABLE test;
-- TODO: table with existing custom-triggered the_geom

@ -102,5 +102,11 @@ Table with non unique and null cartodb_id #148 cartodbfied fine
3|
4|2
DROP TABLE
CREATE TABLE
INSERT 0 2
Table with dots in name columns (cartodb #6114) cartodbfied fine
one|1
two|3
DROP TABLE
DROP FUNCTION
DROP FUNCTION

Loading…
Cancel
Save