Skip to content

Commit 6bc3b84

Browse files
committed
fix: change data type of 'real' from decimal to float in multiple database templates
1 parent 385c080 commit 6bc3b84

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

core/dbio/templates/types_native_to_general.tsv

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ azuredwh nchar text col_nchar nchar TRUE TRUE
1717
azuredwh ntext text col_ntext ntext TRUE TRUE
1818
azuredwh numeric decimal col_numeric numeric TRUE TRUE
1919
azuredwh nvarchar text col_nvarchar nvarchar TRUE TRUE
20-
azuredwh real decimal col_real real TRUE TRUE
20+
azuredwh real float col_real real TRUE TRUE
2121
azuredwh timestamp binary col_timestamp timestamp TRUE TRUE
2222
azuredwh smalldatetime datetime col_smalldatetime smalldatetime TRUE TRUE
2323
azuredwh smallint smallint col_smallint smallint TRUE TRUE
@@ -45,7 +45,7 @@ azuresql nchar text col_nchar nchar TRUE TRUE
4545
azuresql ntext text col_ntext ntext TRUE TRUE
4646
azuresql numeric decimal col_numeric numeric TRUE TRUE
4747
azuresql nvarchar text col_nvarchar nvarchar TRUE TRUE
48-
azuresql real decimal col_real real TRUE TRUE
48+
azuresql real float col_real real TRUE TRUE
4949
azuresql smalldatetime datetime col_smalldatetime smalldatetime TRUE TRUE
5050
azuresql smallint smallint col_smallint smallint TRUE TRUE
5151
azuresql smallmoney decimal col_smallmoney smallmoney TRUE TRUE
@@ -325,7 +325,7 @@ postgres path string col_path path FALSE FALSE geometric path on a plane
325325
postgres pg_lsn bigint col_pg_lsn pg_lsn FALSE FALSE PostgreSQL Log Sequence Number
326326
postgres point string col_point point FALSE FALSE geometric point on a plane
327327
postgres polygon string col_polygon polygon FALSE FALSE closed geometric path on a plane
328-
postgres real decimal col_real real TRUE TRUE single precision floating-point number (4 bytes)
328+
postgres real float col_real real TRUE TRUE single precision floating-point number (4 bytes)
329329
postgres serial integer col_serial serial TRUE TRUE autoincrementing four-byte integer
330330
postgres serial2 smallint col_serial2 serial2 TRUE TRUE autoincrementing two-byte integer
331331
postgres serial4 integer col_serial4 serial4 TRUE TRUE autoincrementing four-byte integer
@@ -470,7 +470,7 @@ sqlite varchar text col_varchar varchar TRUE TRUE
470470
sqlite bigint bigint col_bigint bigint TRUE TRUE
471471
sqlite integer bigint col_integer integer TRUE TRUE
472472
sqlite null text col_null null TRUE TRUE
473-
sqlite real decimal col_real real TRUE TRUE
473+
sqlite real float col_real real TRUE TRUE
474474
sqlite numeric decimal col_numeric numeric TRUE TRUE
475475
sqlite decimal decimal col_decimal decimal TRUE TRUE
476476
sqlite int integer col_int int TRUE TRUE
@@ -487,7 +487,7 @@ d1 varchar text col_varchar varchar TRUE TRUE
487487
d1 bigint bigint col_bigint bigint TRUE TRUE
488488
d1 integer bigint col_integer integer TRUE TRUE
489489
d1 null text col_null null TRUE TRUE
490-
d1 real decimal col_real real TRUE TRUE
490+
d1 real float col_real real TRUE TRUE
491491
d1 numeric decimal col_numeric numeric TRUE TRUE
492492
d1 decimal decimal col_decimal decimal TRUE TRUE
493493
d1 int integer col_int int TRUE TRUE
@@ -517,7 +517,7 @@ sqlserver nchar text col_nchar nchar(17) TRUE TRUE
517517
sqlserver ntext text col_ntext ntext TRUE TRUE
518518
sqlserver numeric decimal col_numeric numeric TRUE TRUE
519519
sqlserver nvarchar text col_nvarchar nvarchar(100) TRUE TRUE
520-
sqlserver real decimal col_real real TRUE TRUE
520+
sqlserver real float col_real real TRUE TRUE
521521
sqlserver smalldatetime datetime col_smalldatetime smalldatetime TRUE TRUE
522522
sqlserver smallint smallint col_smallint smallint TRUE TRUE
523523
sqlserver smallmoney decimal col_smallmoney smallmoney TRUE TRUE

0 commit comments

Comments
 (0)