[MCOL-1343] SET @value problem with ColumnStore Created: 2018-04-16  Updated: 2019-07-10  Resolved: 2019-07-10

Status: Closed
Project: MariaDB ColumnStore
Component/s: N/A
Affects Version/s: 1.1.2
Fix Version/s: Icebox

Type: Bug Priority: Major
Reporter: Todd Stoffel (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Environment:

CentOS 7



 Description   

I have a customer complaining that setting SQL variables from ColumnStore takes a very long time.

For instance:

This is a ColumnStore table: `nucleus`.`neustar_pcp`;

This query:

SELECT COUNT(`HHRECID`) FROM `nucleus`.`neustar_pcp`;

Takes only milliseconds to run.

However this query:

SET @rowcnt = (SELECT COUNT(`HHRECID`) FROM `nucleus`.`neustar_pcp`);

Takes 1 minute and 47 seconds to run.



 Comments   
Comment by Andrew Hutchings (Inactive) [ 2018-04-16 ]

tentatively added this to 1.1.5 in case this is something we can fix without too much modification to vtable.

Comment by Andrew Hutchings (Inactive) [ 2019-07-10 ]

Can't fix for < 1.4. Will go away in 1.4

Generated at Thu Feb 08 02:28:02 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.