[
https://issues.apache.org/jira/browse/IGNITE-20154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikita Sivkov updated IGNITE-20154:
-----------------------------------
Description:
*Issue:*
Getting line separator symbols "\r\n" in OBDC error text.
*For example:*
{noformat}
ALTER TABLE PUBLIC.CAR DROP COLUMN IF EXISTS NAME
('HY000', '[HY000] org.apache.ignite.sql.SqlException: Failed to parse query:
Encountered "" at line 1, column 36.\r\nWas expecting one of:\r\n (262147,
3e945522-7d71-48c0-a8cf-675bbc078bb0) (0) (SQLExecDirectW)'){noformat}
*Reproducer:*
# Start Ignite node.
# Execute command:
_python3 odbc_client.py -o smoke0.sql.actual localhost:10800 smoke0.sql_
*Commit id:*
2655e406b06a2605c2d5ad9402e06d81c1a168ef
was:
*Issue:*
Getting line separator symbols "\r\n" in OBDC error text.
**
*For example:*
{noformat}
{noformat}
*ALTER TABLE PUBLIC.CAR DROP COLUMN IF EXISTS NAME
('HY000', '[HY000] org.apache.ignite.sql.SqlException: Failed to parse query:
Encountered "" at line 1, column 36.\r\nWas expecting one of:\r\n (262147,
3e945522-7d71-48c0-a8cf-675bbc078bb0) (0) (SQLExecDirectW)')*
*Reproducer:*
# Start Ignite node.
# Execute command:
`python3 odbc_client.py -o smoke0.sql.actual localhost:10800 smoke0.sql`
*Commit id:*
2655e406b06a2605c2d5ad9402e06d81c1a168ef
> Line separator in ODBC errors text
> ----------------------------------
>
> Key: IGNITE-20154
> URL: https://issues.apache.org/jira/browse/IGNITE-20154
> Project: Ignite
> Issue Type: Bug
> Components: odbc
> Affects Versions: 3.0
> Reporter: Nikita Sivkov
> Priority: Major
> Labels: ignite-3, odbc
> Attachments: odbc_client.py, smoke0.sql
>
>
> *Issue:*
> Getting line separator symbols "\r\n" in OBDC error text.
> *For example:*
> {noformat}
> ALTER TABLE PUBLIC.CAR DROP COLUMN IF EXISTS NAME
> ('HY000', '[HY000] org.apache.ignite.sql.SqlException: Failed to parse query:
> Encountered "" at line 1, column 36.\r\nWas expecting one of:\r\n
> (262147, 3e945522-7d71-48c0-a8cf-675bbc078bb0) (0)
> (SQLExecDirectW)'){noformat}
> *Reproducer:*
> # Start Ignite node.
> # Execute command:
> _python3 odbc_client.py -o smoke0.sql.actual localhost:10800 smoke0.sql_
> *Commit id:*
> 2655e406b06a2605c2d5ad9402e06d81c1a168ef
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)