View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003964 | SymmetricDS | Bug | public | 2019-05-15 18:57 | 2022-08-30 13:04 |
Reporter | hanes | Assigned To | emiller | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.10.2 | ||||
Target Version | 3.14.1 | Fixed in Version | 3.14.1 | ||
Summary | 0003964: Oracle's REAL datatype should map to DOUBLE in MariaDB, not FLOAT | ||||
Description | Currently, REAL is mapped to a FLOAT in MariaDB. Should be mapped to a DOUBLE. Interestingly, the XML passes FLOAT over as a FLOAT(63) from Oracle, which is accurate (FLOAT has a binary precision of 63 on Oracle) create table test26 (myreal real, myId varchar(256), primary key (myId)); Results in the following Create Table on MariaDB side: [store-001] - DefaultDatabaseWriter - About to create table using the following definition: <?xml version="1.0"?> <!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database"> <database name="dataextractor"> <table name="TEST26"> <column name="MYID" primaryKey="true" required="true" type="VARCHAR" size="256"> <platform-column name="oracle" type="VARCHAR2" size="256"/> </column> <column name="MYREAL" type="REAL" size="63"> <platform-column name="oracle" type="FLOAT" size="63"/> </column> </table> </database> [store-001] - MariaDBDatabasePlatform - Running alter sql: CREATE TABLE `test26`( `myid` VARCHAR(256) NOT NULL, `myreal` FLOAT, PRIMARY KEY (`myid`) ); [store-001] - PullService - Pull data received from corp:000:000 on queue default. 4 rows and 2 batches were processed. (sym_table_reload_request, test26) [store-001] - RouterService - Routed 3 data events in 18 ms | ||||
Tags | ddl/schema, dialect: mysql/mariadb | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-05-15 18:57 | hanes | New Issue | |
2019-05-15 18:57 | hanes | Status | new => confirmed |
2019-05-17 23:52 | elong | Tag Attached: ddl/schema | |
2019-05-17 23:52 | elong | Tag Attached: dialect: mysql/mariadb | |
2022-08-16 15:03 | emiller | Assigned To | => emiller |
2022-08-16 15:03 | emiller | Status | confirmed => resolved |
2022-08-16 15:03 | emiller | Resolution | open => fixed |
2022-08-16 15:03 | emiller | Fixed in Version | => 3.14.1 |
2022-08-16 16:00 | Changeset attached | => SymmetricDS 3.14 36e63560 | |
2022-08-30 13:04 | admin | Status | resolved => closed |