Deveel.Data.Client.DeveelDbException : An error occurred while executing the non-query command
INSERT INTO mytable (myident, mystamp, mycontent) VALUES (1, TODATE('2016-01-01'), '2 weeks ago'), (2, TODATE('2016-01-07'), '1 week ago');
Deveel.Data.Client.DeveelDbException: An error occurred while executing a query. ---> System.Runtime.Remoting.ServerException: Unable to convert type STRING(32767) of TODATE(2016-01-01) into type DATE of column APP.mytable.mystamp
System.InvalidOperationException: Unable to convert type STRING(32767) of TODATE(2016-01-01) into type DATE of column APP.mytable.mystamp
at Deveel.Data.Sql.Statements.InsertStatement.Deveel.Data.Sql.Statements.IPreparableStatement.Prepare (IRequest context) [0x00315] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Sql.Statements/InsertStatement.cs#L131
at Deveel.Data.Sql.Statements.StatementExtensions.Prepare (IStatement statement, IExpressionPreparer preparer, IRequest context) [0x0003e] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Sql.Statements/StatementExtensions.cs#L43
at Deveel.Data.Sql.Statements.RequestExtensions.Execute (IRequest request, Deveel.Data.Sql.SqlQuery query) [0x0004c] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Sql.Statements/RequestExtensions.cs#L69
at Deveel.Data.Sql.Statements.QueryExtensions.ExecuteQuery (IQuery query, Deveel.Data.Sql.SqlQuery sqlQuery) [0x00003] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Sql.Statements/QueryExtensions.cs#L26
at Deveel.Data.Protocol.ServerConnector.CoreExecuteQuery (IQuery context, System.String text, IEnumerable`1 parameters) [0x0009e] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Protocol/ServerConnector.cs#L336
at Deveel.Data.Protocol.ServerConnector.ExecuteQuery (IQuery context, System.String text, IEnumerable`1 parameters) [0x00008] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Protocol/ServerConnector.cs#L274
at Deveel.Data.Protocol.ServerConnector.ExecuteQuery (Int64 commitId, System.String text, IEnumerable`1 parameters) [0x0002b] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Protocol/ServerConnector.cs#L264
at Deveel.Data.Protocol.ServerConnector+ServerMessageProcessor.ProcessQuery (IDictionary`2 metadata, Deveel.Data.Protocol.QueryExecuteRequest request) [0x0003a] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Protocol/ServerConnector.cs#L673 , ErrorCode: -1, ErrorClass: -1
at Deveel.Data.Protocol.ClientConnector+ClientMessageProcessor.ProcessMessage (IMessageEnvelope message) [0x0009f] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Protocol/ClientConnector.cs#L107
at Deveel.Data.Client.ConnectionClient.SendMessage (IMessage message) [0x0001b] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Client/ConnectionClient.cs#L165
at Deveel.Data.Client.ConnectionClient.ExecuteQuery (Int32 commitId, Deveel.Data.Sql.SqlQuery query) [0x0000a] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Client/ConnectionClient.cs#L246
at Deveel.Data.Client.DeveelDbConnection.ExecuteQuery (Int32 commitId, Deveel.Data.Sql.SqlQuery query) [0x0000a] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Client/DeveelDbConnection.cs#L280
--- End of inner exception stack trace ---
at Deveel.Data.Client.DeveelDbConnection.ExecuteQuery (Int32 commitId, Deveel.Data.Sql.SqlQuery query) [0x0001d] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Client/DeveelDbConnection.cs#L282
at (wrapper remoting-invoke-with-check) Deveel.Data.Client.DeveelDbConnection:ExecuteQuery (int,Deveel.Data.Sql.SqlQuery)
at Deveel.Data.Client.DeveelDbCommand.ExecuteQuery () [0x0002d] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Client/DeveelDbCommand.cs#L102
at Deveel.Data.Client.DeveelDbCommand.ExecuteNonQuery () [0x00015] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Client/DeveelDbCommand.cs#L342
----> Deveel.Data.Client.DeveelDbException : An error occurred while executing a query.
----> System.Runtime.Remoting.ServerException : Unable to convert type STRING(32767) of TODATE(2016-01-01) into type DATE of column APP.mytable.mystamp
System.InvalidOperationException: Unable to convert type STRING(32767) of TODATE(2016-01-01) into type DATE of column APP.mytable.mystamp
at Deveel.Data.Sql.Statements.InsertStatement.Deveel.Data.Sql.Statements.IPreparableStatement.Prepare (IRequest context) [0x00315] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Sql.Statements/InsertStatement.cs#L131
at Deveel.Data.Sql.Statements.StatementExtensions.Prepare (IStatement statement, IExpressionPreparer preparer, IRequest context) [0x0003e] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Sql.Statements/StatementExtensions.cs#L43
at Deveel.Data.Sql.Statements.RequestExtensions.Execute (IRequest request, Deveel.Data.Sql.SqlQuery query) [0x0004c] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Sql.Statements/RequestExtensions.cs#L69
at Deveel.Data.Sql.Statements.QueryExtensions.ExecuteQuery (IQuery query, Deveel.Data.Sql.SqlQuery sqlQuery) [0x00003] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Sql.Statements/QueryExtensions.cs#L26
at Deveel.Data.Protocol.ServerConnector.CoreExecuteQuery (IQuery context, System.String text, IEnumerable`1 parameters) [0x0009e] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Protocol/ServerConnector.cs#L336
at Deveel.Data.Protocol.ServerConnector.ExecuteQuery (IQuery context, System.String text, IEnumerable`1 parameters) [0x00008] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Protocol/ServerConnector.cs#L274
at Deveel.Data.Protocol.ServerConnector.ExecuteQuery (Int64 commitId, System.String text, IEnumerable`1 parameters) [0x0002b] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Protocol/ServerConnector.cs#L264
at Deveel.Data.Protocol.ServerConnector+ServerMessageProcessor.ProcessQuery (IDictionary`2 metadata, Deveel.Data.Protocol.QueryExecuteRequest request) [0x0003a] in https://github.com/ArsenShnurkov/deveeldb/blob/1d54fe4434fdfd0ae691e6088b527f4d6286a781/src/deveeldb/Deveel.Data.Protocol/ServerConnector.cs#L673 , ErrorCode: -1, ErrorClass: -1