We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

"Primary Key required for Update option" for impala database

alvanhai
5 - Atom

*I'm fairly new to Alteryx, so please bear with me and ask me to clarify anything I say that confuses you!* 

 

So I've been stuck on this error in my flow (shown below) that says "Primary Key required for Update option." The table in question is (to my limited understanding) an impala database which I access with the Hue editor. According to an article I read, Impala already assumes that the first attribute in a table is the primary key and I have enforced that in the table, so I do not understand why it is still giving me this error.

 

alvanhai_0-1622837470888.png

Figure 1: Flow with Input Configuration (and Table)

 

 

alvanhai_1-1622837606422.png

 

Figure 2: Flow with Output Configuration

 

 

Any ideas on how I can fix this issue?

1 REPLY 1
Thableaus
17 - Castor
17 - Castor

Hi @alvanhai 


This is something required by Alteryx when you use the Update option in the Output tool, although I understand what you're saying.

 

It seems Impala doesn't support altering primary keys (https://stackoverflow.com/questions/56475209/alter-table-in-impala-make-a-column-a-primary-key) so it seems you need to pass the PK at the moment you're creating the table.


Cheers,

Labels
Top Solution Authors