Re: Materialized views and composite partition keys

2016-02-10 Thread Abdul Jabbar Azam
Hello, I've just changed my materialized view to have one partition key. The view gets generated now. After some refactoring I found that I didn't need a composite primary key at all. However if I later need one then I'll use a UDT. If it works... On Wed, 10 Feb 2016 at 13:04 DuyHai Doan wrote:

Re: Materialized views and composite partition keys

2016-02-10 Thread Abdul Jabbar Azam
Ah. I think that's where I'm going wrong. I'll have a look when I get home. On Wed, 10 Feb 2016 at 13:04 DuyHai Doan wrote: > You can't have more than 1 non-pk column from the base table as primary > key column of the view. All is explained here: > http://www.doanduyhai.com/blog/?p=1930 > > On W

Re: Materialized views and composite partition keys

2016-02-10 Thread DuyHai Doan
You can't have more than 1 non-pk column from the base table as primary key column of the view. All is explained here: http://www.doanduyhai.com/blog/?p=1930 On Wed, Feb 10, 2016 at 10:43 AM, Abdul Jabbar Azam wrote: > Hello, > > I tried creating a material view using a composite partition key b

Materialized views and composite partition keys

2016-02-10 Thread Abdul Jabbar Azam
Hello, I tried creating a material view using a composite partition key but I got an error. I can't remember the error but it was complaining about the presence of the second field in the partition key. Has anybody experienced this or have a workaround. I haven't tried UDT's yet. -- Regards A