I have a CSV file of over 30 GB, and I want to load and store it into a DolphinDB database using the loadTextEx function. The file contains a column named “date” which is stored as INT type, with values like “20230731”. I would like to convert the column into the DATE type (i.e., 2023.07.31). How can I do this?
How to convert date column from INT to DATE type in large CSV files?
75 Views Asked by carbonhydrate At
1
There are 1 best solutions below
Related Questions in DOLPHINDB
- Question with the result of fj (full join) in DolphinDB
- How to address the DolphinDB error: The function [nullFill] expects 2 argument(s), but the actual number of arguments is: 1?
- In DolphindDB, is it feasible to use the SET...IF statement with UPDATE in SQL queries?
- Failed to grant permission in DolphinDB
- DolphinDB: Fail to parse function definitions submitted by submitJob
- How to correctly write SQL metacode in metaprogramming?
- How to download and save BLOB data to local storage through DolphinDB Python API?
- how to perform factor calculation using sliding windows with elements from different columns?
- In DolphinDB, how to perform multiple regression by using metaprogramming?
- What is the difference between the kurtosis function in DolphinDB and the kurt function in pandas?
- In DolphinDB, how to perform aggregated calculations on a table, grouped by ranges specified in another table?
- In DolphinDB, how to deal with mutable arguments in a concise way?
- DolphinDB: how to perform iterative operations based on previous results using SQL statements?
- Passing variables in DolphinDB metaprogramming
- DolphinDB: how to achieve aggregate operations in the reactive state engine?
Related Questions in DATA-TRANSFORM
- Rename Azure Storage Table?
- What is the best way to itterate over key value pairs nested in an index using javascript?
- R Data transformation: dataframe to matrix filled with 0 and 1
- How to transpose columns into rows and ensure repetition of rows accordingly in excel?
- Data Transformation Pipeline Issue on End-to-End Machine Learning Project
- Data Transformation Issue on End-to-End ML Project - KeyError: 'Date_of_Journey'
- Data Transformation Issue on End-to-End ML Project - convert_to_minutes() Takes 1 Positional Argument But 2 Were Given
- Loading File into DuckDB using Python Fails Die to "/N" Values Used to Represent Nulls
- Generating a glidepath in power BI
- Matching Arrival & Departures from long GPS data (long data to wide data)
- How to create new data rows for each unique value in a column (potentially grouped by other variables) in R
- r retain duplicates after group by not min value
- r retain non zero rows in case of duplicates
- r generate indicator columns based on conditions
- Join multiple tables in Azure Data Factory to create a structure with an embedded array field?
Related Questions in LOAD-CSV
- neo4j load csv invalid "ON MATCH"
- neo4j: Cypher LOAD CSV with uuid
- redisgraph-bulk-loader returns with IndexError
- How can we load an s3 directory with 1000s of part files in neo4j
- Load CSV into Neo4j from local path without modifying config
- Neo4j LOAD CSV..when CSV columns contains a list of properties
- Neo4j - LOAD-CSV not creating all nodes
- LOAD CSV from url
- neo4j load csv is very slow
- neo4j specify data-type during import from csv
- Load csv merge performance
- Neo4j Cypher - creating nodes and setting labels with LOAD CSV
- Cypher restrictions on queries chained after a load csv
- How to prevent duplications with merge in neo4j and make the query faster?
- Neo4J Load CSV from Cypher throws "Unknown Error" or DeadlockDetected
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can define a UDF where the function temporalParse can be applied to convert data types, and then pass this UDF to the transform parameter in
loadTextEx. Here is an example: