[jira] [Created] (IGNITE-19704) .NET: CacheClientConfiguration ctor ignores unsupported EncryptionEnabled

2023-06-11 Thread Pavel Tupitsyn (Jira)
Pavel Tupitsyn created IGNITE-19704:
---

 Summary: .NET: CacheClientConfiguration ctor ignores unsupported 
EncryptionEnabled
 Key: IGNITE-19704
 URL: https://issues.apache.org/jira/browse/IGNITE-19704
 Project: Ignite
  Issue Type: Bug
  Components: platforms
Affects Versions: 2.15
Reporter: Pavel Tupitsyn
Assignee: Pavel Tupitsyn
 Fix For: 2.16


*CacheClientConfiguration* constructor should throw an exception when unmapped 
properties are set and *ignoreUnsupportedProperties* is false. This is not true 
for *CacheConfiguration.EncryptionEnabled*, and probably some other properties 
too.

* Add a check for *EncryptionEnabled*
* Add a test that checks whether all properties are checked

https://github.com/apache/ignite/blob/3cadf45eef31d31a23928aee6af508406c305e75/modules/platforms/dotnet/Apache.Ignite.Core/Client/Cache/CacheClientConfiguration.cs#L140



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (IGNITE-19704) .NET: CacheClientConfiguration ctor ignores unsupported EncryptionEnabled

2023-06-11 Thread Pavel Tupitsyn (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-19704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Tupitsyn updated IGNITE-19704:

Ignite Flags:   (was: Docs Required,Release Notes Required)

> .NET: CacheClientConfiguration ctor ignores unsupported EncryptionEnabled
> -
>
> Key: IGNITE-19704
> URL: https://issues.apache.org/jira/browse/IGNITE-19704
> Project: Ignite
>  Issue Type: Bug
>  Components: platforms
>Affects Versions: 2.15
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>Priority: Minor
> Fix For: 2.16
>
>
> *CacheClientConfiguration* constructor should throw an exception when 
> unmapped properties are set and *ignoreUnsupportedProperties* is false. This 
> is not true for *CacheConfiguration.EncryptionEnabled*, and probably some 
> other properties too.
> * Add a check for *EncryptionEnabled*
> * Add a test that checks whether all properties are checked
> https://github.com/apache/ignite/blob/3cadf45eef31d31a23928aee6af508406c305e75/modules/platforms/dotnet/Apache.Ignite.Core/Client/Cache/CacheClientConfiguration.cs#L140



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (IGNITE-19703) Unable to create schema via SQL

2023-06-11 Thread Alexander Belyak (Jira)
Alexander Belyak created IGNITE-19703:
-

 Summary: Unable to create schema via SQL
 Key: IGNITE-19703
 URL: https://issues.apache.org/jira/browse/IGNITE-19703
 Project: Ignite
  Issue Type: Bug
  Components: sql
Affects Versions: 3.0
Reporter: Alexander Belyak


Error while executing "CREATE SCHEMA s1"
{noformat}
Exception while executing query [query=CREATE SCHEMA S1]. Error message:Failed 
to parse query: Encountered "" at line 1, column 1.
Was expecting one of:
    
java.sql.SQLException: Exception while executing query [query=CREATE SCHEMA 
S1]. Error message:Failed to parse query: Encountered "" at line 1, column 1.
Was expecting one of:
    
    at 
org.apache.ignite.internal.jdbc.proto.IgniteQueryErrorCode.createJdbcSqlException(IgniteQueryErrorCode.java:57)
    at 
org.apache.ignite.internal.jdbc.JdbcStatement.execute0(JdbcStatement.java:149)
    at 
org.apache.ignite.internal.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:178)
    at 
org.gridgain.ai3tests.tests.DefaultValueTests.createIfNotExistsSameTablesInDifferentScemas(DefaultValueTests.java:194)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
    at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at 
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
    at 
org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
    at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
    at 
org.junit.jupiter.api.extension.InvocationInterceptor.interceptTestMethod(InvocationInterceptor.java:118)
    at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
    at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
    at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
    at 
org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
    at 
org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
    at 
org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
    at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
    at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
    at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
    at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
    at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
    at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
    at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
    at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
    at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:217)
    at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
    at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
    at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
    at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
    at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
    at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
    at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
    at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCol

[jira] [Created] (IGNITE-19702) Unable to create column with default value with literal convertion

2023-06-11 Thread Alexander Belyak (Jira)
Alexander Belyak created IGNITE-19702:
-

 Summary: Unable to create column with default value with literal 
convertion
 Key: IGNITE-19702
 URL: https://issues.apache.org/jira/browse/IGNITE-19702
 Project: Ignite
  Issue Type: Bug
  Components: sql
Affects Versions: 3.0
Reporter: Alexander Belyak


DDL command to create a column with default value fails if it require some type 
of conversion (string to time, date, timestamp, uuid). For example:
{noformat}
create table ttt6(key int primary key, val TIMESTAMP default '2022-02-01 
12:12:12');{noformat}
returns
{noformat}
[Code: 0, SQL State: 5]  Exception while executing query [query=create 
table ttt6(key int primary key, val TIMESTAMP default '2022-02-01 12:12:12')]. 
Error message:Unable co convert literal{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (IGNITE-19701) Type exception on insert into uuid columns with gen_random_uuid

2023-06-11 Thread Alexander Belyak (Jira)
Alexander Belyak created IGNITE-19701:
-

 Summary: Type exception on insert into uuid columns with 
gen_random_uuid
 Key: IGNITE-19701
 URL: https://issues.apache.org/jira/browse/IGNITE-19701
 Project: Ignite
  Issue Type: Bug
  Components: sql
Affects Versions: 3.0
Reporter: Alexander Belyak


Step to reproduce:
{noformat}
create table tdd(a uuid default gen_random_uuid, b int, primary key (a) );
insert into tdd(b) values(22) 
{noformat}
Expected result: row with autogenerated primary key a inserted

Actual result:
{noformat}
[Code: 0, SQL State: 5]  Exception while executing query [query=insert into 
tdd(b) values(22)]. Error message:Query remote fragment execution failed: 
nodeName=DropColumnsTest_cluster_1, 
queryId=e0a9b944-74a5-4d9d-a4a9-7962cb821c81, fragmentId=20, 
originalMessage=storageType is class java.util.UUID value must also be class 
java.util.UUID but it was: 1726917f-f47f-4ccc-94a0-59ac518e101b{noformat}
It is possibly to insert row with generated UUID:
{noformat}
insert into tdd(a, b) values('1726917f-f47f-4ccc-94a0-59ac518e101b', 
22){noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)