You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "roamerop (via GitHub)" <gi...@apache.org> on 2024/09/19 04:24:54 UTC
[I] [Bug] Hive catalog query have not result when using string equal [doris]
roamerop opened a new issue, #40968:
URL: https://github.com/apache/doris/issues/40968
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
### Version
doris 3.0.1-bin-x64
hive 3.1.3
### What's Wrong?
first: create hive catalog
`
CREATE CATALOG IF NOT EXISTS hive PROPERTIES (
'type'='hms',
'hive.metastore.uris' = 'thrift://eant001:9083',
'hive.version' = '3.1.3',
'hadoop.username' = 'hive',
'dfs.nameservices'='eans1',
'dfs.ha.namenodes.eans1'='eann1,eann2',
'dfs.namenode.rpc-address.eans1.eann1'='eant001:8020',
'dfs.namenode.rpc-address.eans1.eann2'='eant002:8020',
'dfs.client.failover.proxy.provider.eans1'='org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider'
);
`
second: Generate TPC-DS sample data
third: Query
`
mysql> select * from customer_demographics where cd_education_status = 'College' limit 1;
Empty set (0.02 sec)
mysql> select cd_education_status, length(cd_education_status), 'College' = cd_education_status from customer_demographics where cd_education_status like '%College' limit 1;
+---------------------+-----------------------------+-----------------------------------+
| cd_education_status | length(cd_education_status) | ('College' = cd_education_status) |
+---------------------+-----------------------------+-----------------------------------+
| College | 7 | 1 |
+---------------------+-----------------------------+-----------------------------------+
1 row in set (0.04 sec)
`
Summary: The query sql `select * from customer_demographics where cd_education_status = 'College' limit 1;` has no resultset as expect
### What You Expected?
sql `select * from customer_demographics where cd_education_status = 'College' limit 1;` should have resultset
### How to Reproduce?
_No response_
### Anything Else?
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [I] [Bug] Hive catalog query have not result when using string equal [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #40968:
URL: https://github.com/apache/doris/issues/40968#issuecomment-3283047605
We're closing this issue because it hasn't been updated in a while.
If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [I] [Bug] Hive catalog query have not result when using string equal [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #40968: [Bug] Hive catalog query have not result when using string equal
URL: https://github.com/apache/doris/issues/40968
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org