Comments (3)
Hi @graziella79 unfortunately that's not possible :-(
While it is possible to store one CSV field in two columns, this will only work if the two columns have the same pattern.
If you need different patterns, you will have to transform your CSV file first, then load it with dsbulk.
I think you could transform you file very easily with sed for example:
sed -E 's/(.*\|)([0-9]{10})([0-9]{4})/\1\2\3|\2/g' file.csv
from dsbulk.
@graziella79 are you OK to close this one?
from dsbulk.
Thank you so much for your answer!
from dsbulk.
Related Issues (20)
- DSBulk's rate limiter is not compatible with speculative executions HOT 3
- Implement application-level retries HOT 1
- Unload big partitions: automatically tune schema splits and ops per second on retry for timeouts HOT 3
- Revisit unrecoverable errors HOT 1
- checkpoint file is generated regardless of job successful or not HOT 1
- Can't find class software.aws.mcs.auth.SigV4AuthProvider
- endless loop on initial connection, when connecting to Astra and one of the endpoints is mark as removed
- Small modification to concatentate two fields HOT 1
- Can't get more results because the continuous query has failed already. Most likely this is because the query was cancelled HOT 1
- Support URL files with up to millions of lines
- dsbulk load error: "$JAVA_CMD" $DSBULK_JAVA_OPTS -cp "$CP" com.datastax.oss.dsbulk.runner.DataStaxBulkLoader "$@"
- Refactor LogManager to remove UnicastProcessor
- Investigate UNLOAD and COUNT inconsistent results
- Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory HOT 9
- dsbulk unload stuck when config -maxConcurrentFiles (write concurrency) greater than 1 HOT 1
- DSBulk Java API
- DSBulk dependency on `logback` implementation
- `ClassLoader` aware DSBulk
- `maxRecords` flag does not apply to write operations
- DSBulk count doesn't work on tables with just partition keys
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dsbulk.