Login Register Actian.com  

Actian Community Forum



Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 2011-09-20   #1 (permalink)
Ingres Community
 
Join Date: Aug 2009
Posts: 32
Default E_op0889

Hi All.

In the following SQL the table val_time is a vectorwise table.

Why is it that when I do:
declare global temporary table session.My_Select as select
max(packet_id) as max_packet
from val_time
on commit preserve rows with norecovery

I get error: E_OP0889 Eqc is not available
at a CO node.

However, all is sweetness and light if I add the ', structure = vectorwise' to the above query.

Martin Bowes
martin.bowes is offline   Reply With Quote
Old 2011-09-20   #2 (permalink)
Ingres Community
 
Join Date: Aug 2009
Posts: 297
Blog Entries: 1
Default

What version of VectorWise are you using? Starting in 1.5 VectorWise, the default table structure is VectorWise, so whether or not you explicitly specify "with structure = vectorwise" should yield the same result.

The fact that doesn't seem to be the case seems to imply that you're using an older version of the product.

BTW, I can reproduce your problem using the latest development build if I explicitly tack on ", structure=heap", which would be the equivalent of what I think you're actually doing in your version of the product.
zelaine is offline   Reply With Quote
Old 2011-09-20   #3 (permalink)
Ingres Community
 
Join Date: Aug 2009
Posts: 297
Blog Entries: 1
Default

For Ingres folks, I've logged the problem as Mantis 2567.
zelaine is offline   Reply With Quote
Old 2011-09-21   #4 (permalink)
Ingres Community
 
Join Date: Aug 2009
Posts: 32
Default

Quote:
Originally Posted by zelaine View Post
What version of VectorWise are you using? Starting in 1.5 VectorWise, the default table structure is VectorWise, so whether or not you explicitly specify "with structure = vectorwise" should yield the same result.

The fact that doesn't seem to be the case seems to imply that you're using an older version of the product.

BTW, I can reproduce your problem using the latest development build if I explicitly tack on ", structure=heap", which would be the equivalent of what I think you're actually doing in your version of the product.
VW1.6, but I always set result_structure=heap in the config.dat...I find that leaving the default setting of vectorwise causes too much grief in all my existing supporting code.

Marty
martin.bowes is offline   Reply With Quote
Old 2012-04-24   #5 (permalink)
Ingres Community
 
Join Date: Jun 2011
Posts: 13
Default Problem Appears to be resolved.

Testing issue 2567 in both 2.02 and candidate 2.5, it appears to be fixed.
clada01 is offline   Reply With Quote

Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


© 2011 Actian Corporation. All Rights Reserved