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.

Export a file from processing to yxdb directly from python

Emmanuel_G
13 - Pulsar

Hello everyone,

 

I have a python script (out of alteryx so not in the alteryx python tool) on a .py file that until today allows to export data in .parquet without worry.

 

For technical reasons, we need to convert these data to .yxdb for export.

 

Do you know of any way of exporting to .yxdb from a .py file?

 

Thank you in advance for answers.

7 REPLIES 7
apathetichell
20 - Arcturus

https://github.com/tlarsendataguy-yxdb

 

@tlarsen 's tools for using yxdb outside of Alteryx... 

Emmanuel_G
13 - Pulsar

@apathetichell  Thank you for quick answer !

 

I think it it useful for reading yxdb files but not write ...

apathetichell
20 - Arcturus

@Emmanuel_G --- playing around with this in Claude and I'll see if I get somewhere. Just a note ---> Claude says that the yxdb schema for AMP vs pre-AMP may be different. Is AMP a hard requirement for you? It may not work.

Emmanuel_G
13 - Pulsar

Thank you @apathetichell 

 

No, AMP is not an essential prerequisite.

caltang
17 - Castor
17 - Castor

Interesting! Following this thread. 

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
apathetichell
20 - Arcturus

This is going to take a pandas input... at least at first. Maybe I'll expand it to json. I'll post a link to the repo when ready. Uses much of @tlarsen7572 's work...

apathetichell
20 - Arcturus

If you hit issues let me know... I'm limited in my testing data --- so i'll have to sign up for an Alteryx trial if I need more test data.

https://github.com/apathetichell/yxdbwriter/blob/main/src/yxdb_writer.py

Labels
Top Solution Authors