Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loader can't load data to a table with a UDT column #21

Open
rs017991 opened this issue Nov 6, 2015 · 6 comments
Open

Loader can't load data to a table with a UDT column #21

rs017991 opened this issue Nov 6, 2015 · 6 comments

Comments

@rs017991
Copy link

rs017991 commented Nov 6, 2015

It would be really great for the loader to support User-defined types.

Note that collections may contain UDTs and UDTs may contain collections/other UDTs, so CQLDelimParser.schemaBits(...) would need to support some level of recursion.

Side note: The skipCols options cannot be used to skip over a column with a non-supported type because parsers are eagerly built.

@brianmhess
Copy link
Owner

Skip columns would work if you quoted the UDT, or if the UDT did not have embedded delimiters.

@diegopeleteiro
Copy link

Indeed it would be great to have support to UDTs

@trex77
Copy link

trex77 commented Dec 11, 2018

The tool is great. I really loved it. Is there any solution to UDT types other than skiping the columns? My data have sets and collections and the unloader tool gives the error below:

Exception in thread "main" java.util.concurrent.ExecutionException: java.text.ParseException: Set data type not recognized (udt)
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at com.datastax.loader.CqlDelimUnload.run(CqlDelimUnload.java:402)
at com.datastax.loader.CqlDelimUnload.main(CqlDelimUnload.java:471)

@brianmhess
Copy link
Owner

There is a udt branch you could try. I think that got pretty solid, but I haven't been working on this in a while.

@kalpana04-star
Copy link

This utility support UDTs?

@brianmhess
Copy link
Owner

Check out the "udt" branch.
You may also want to look at the dsbulk utility from DataStax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants