ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (IGNITE-10356) JDBC thin driver returns wrong data type for Date and Decimal SQL type
Date Fri, 30 Nov 2018 03:07:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-10356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16704169#comment-16704169
] 

Ray edited comment on IGNITE-10356 at 11/30/18 3:06 AM:
--------------------------------------------------------

[~vozerov]

I ran the failed test suite again manually.

Here's the detailed results.

 

{color:#d04437}[Inspections] Core{color} [[tests 0 BuildFailureOnMetric |https://ci.ignite.apache.org/viewLog.html?buildId=2407702]]
  
 Unused import (1)
  
  src/main/java/org/apache/ignite/internal/processors/query
  GridQueryProcessor.java (1)
 Fixed in https://issues.apache.org/jira/browse/IGNITE-10375

 

Platform .NET with one flaky failed test

Apache.Ignite.Core.Tests.exe: Apache.Ignite.Core.Tests.Log (1)
 DefaultLoggerTest.TestJavaLogger  
 This test looks flaky: 
 Frequent test status changes: 166 changes out of 698 invocations
 Test status change in build without changes: from failed to successful

Failed test detail

[https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&tab=testDetails&testNameId=-1052276137395682005#analysis]

 

Build result:

[https://ci.ignite.apache.org/viewLog.html?buildId=2423396&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_PlatformNet]

 

{color:#333333}Compute (Affinity Run) (Green with no failed test){color}

[https://ci.ignite.apache.org/viewLog.html?buildId=2427996&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_ComputeAffinityRun]

 

{color:#333333}Cache 3 (Green with no failed test){color}

[https://ci.ignite.apache.org/viewLog.html?buildId=2423400&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_Cache3]

 

{color:#333333}Activate | Deactivate Cluster (Green with no failed test){color}

[https://ci.ignite.apache.org/viewLog.html?buildId=2423402&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_ActivateDeactivateCluster]

 

{color:#333333}Platform .NET (NuGet) (Green with no failed test){color}

[https://ci.ignite.apache.org/viewLog.html?buildId=2423404&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_PlatformNetNuGet]

 

{color:#333333}PDS 1 (Green with no failed test){color}

[https://ci.ignite.apache.org/viewLog.html?buildId=2423406&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_Pds1]

 

Please review the results and comment.


was (Author: ldz):
[~vozerov]

I ran the failed test suite again manually.

Here's the detailed results.

 

{color:#d04437}[Inspections] Core{color} [[tests 0 BuildFailureOnMetric |https://ci.ignite.apache.org/viewLog.html?buildId=2407702]]
  
 Unused import (1)
  
  src/main/java/org/apache/ignite/internal/processors/query
  GridQueryProcessor.java (1)
 Fixed in https://issues.apache.org/jira/browse/IGNITE-10375

 

Platform .NET with one flaky failed test

Apache.Ignite.Core.Tests.exe: Apache.Ignite.Core.Tests.Log (1)
DefaultLoggerTest.TestJavaLogger  
This test looks flaky: 
Frequent test status changes: 166 changes out of 698 invocations
Test status change in build without changes: from failed to successful

[https://ci.ignite.apache.org/viewLog.html?buildId=2423396&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_PlatformNet]

 

{color:#333333}Compute (Affinity Run) (Green with no failed test){color}

[https://ci.ignite.apache.org/viewLog.html?buildId=2427996&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_ComputeAffinityRun]

 

{color:#333333}Cache 3 (Green with no failed test){color}

[https://ci.ignite.apache.org/viewLog.html?buildId=2423400&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_Cache3]

 

{color:#333333}Activate | Deactivate Cluster (Green with no failed test){color}

[https://ci.ignite.apache.org/viewLog.html?buildId=2423402&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_ActivateDeactivateCluster]

 

{color:#333333}Platform .NET (NuGet) (Green with no failed test){color}

[https://ci.ignite.apache.org/viewLog.html?buildId=2423404&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_PlatformNetNuGet]

 

{color:#333333}PDS 1 (Green with no failed test){color}

[https://ci.ignite.apache.org/viewLog.html?buildId=2423406&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_Pds1]

 

Please review the results and comment.

> JDBC thin driver returns wrong data type for Date and Decimal SQL type
> ----------------------------------------------------------------------
>
>                 Key: IGNITE-10356
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10356
>             Project: Ignite
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 2.6, 2.7
>            Reporter: Ray
>            Assignee: Ray
>            Priority: Critical
>             Fix For: 2.8
>
>
> JDBC thin driver will return wrong metadata for column type when user creates a table
with Date and Decimal type.
>  
> Steps to reproduce.
> 1. Start one node and create table using this command
> create table a(a varchar, b decimal,c date, primary key(a));
> 2. Run "!desc a" to show the metadata of table a
> This results is as follows:
> TABLE_CAT
>  TABLE_SCHEM PUBLIC
>  TABLE_NAME A
>  COLUMN_NAME A
>  DATA_TYPE 12
>  TYPE_NAME VARCHAR
>  COLUMN_SIZE null
>  BUFFER_LENGTH null
>  DECIMAL_DIGITS null
>  NUM_PREC_RADIX 10
>  NULLABLE 1
>  REMARKS
>  COLUMN_DEF
>  SQL_DATA_TYPE 12
>  SQL_DATETIME_SUB null
>  CHAR_OCTET_LENGTH 2147483647
>  ORDINAL_POSITION 1
>  IS_NULLABLE YES
>  SCOPE_CATLOG
>  SCOPE_SCHEMA
>  SCOPE_TABLE
>  SOURCE_DATA_TYPE null
>  IS_AUTOINCREMENT NO
>  IS_GENERATEDCOLUMN NO
> TABLE_CAT
>  TABLE_SCHEM PUBLIC
>  TABLE_NAME A
>  COLUMN_NAME B
>  {color:#d04437}DATA_TYPE 1111{color}
>  {color:#d04437}TYPE_NAME OTHER{color}
>  COLUMN_SIZE null
>  BUFFER_LENGTH null
>  DECIMAL_DIGITS null
>  NUM_PREC_RADIX 10
>  NULLABLE 1
>  REMARKS
>  COLUMN_DEF
>  {color:#d04437}SQL_DATA_TYPE 1111{color}
>  SQL_DATETIME_SUB null
>  CHAR_OCTET_LENGTH 2147483647
>  ORDINAL_POSITION 2
>  IS_NULLABLE YES
>  SCOPE_CATLOG
>  SCOPE_SCHEMA
>  SCOPE_TABLE
>  SOURCE_DATA_TYPE null
>  IS_AUTOINCREMENT NO
>  IS_GENERATEDCOLUMN NO
> TABLE_CAT
>  TABLE_SCHEM PUBLIC
>  TABLE_NAME A
>  COLUMN_NAME C
>  {color:#d04437}DATA_TYPE 1111{color}
>  {color:#d04437}TYPE_NAME OTHER{color}
>  COLUMN_SIZE null
>  BUFFER_LENGTH null
>  DECIMAL_DIGITS null
>  NUM_PREC_RADIX 10
>  NULLABLE 1
>  REMARKS
>  {color:#333333}COLUMN_DEF{color}
> {color:#d04437} SQL_DATA_TYPE 1111{color}
>  SQL_DATETIME_SUB null
>  CHAR_OCTET_LENGTH 2147483647
>  ORDINAL_POSITION 3
>  IS_NULLABLE YES
>  SCOPE_CATLOG
>  SCOPE_SCHEMA
>  SCOPE_TABLE
>  SOURCE_DATA_TYPE null
>  IS_AUTOINCREMENT NO
>  IS_GENERATEDCOLUMN NO
>  
> Column b and c has the wrong DATA_TYPE and TYPE_NAME.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message