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?
78 views Asked by carbonhydrate At
1
There are 1 answers
Related Questions in DOLPHINDB
- How to append an array vector to a database?
- Does the following value partition cover the day of December 31st?
- How can three int variables, start_year, start_month, and start_day, which are 2024, 3, and 4 respectively, be merged into a date variable (date)?
- How to specify multiple databases when connecting to DolphinDB Server with JDBC interface?
- The Asof join engine output does not match expectations
- Why does having GROUP BY in an IN clause cause the query to become unexecutable?
- Why the same regular expression outputs different results in Linux and Windows?
- Fail to write to a DFS table due to the error The column used for value-partitioning cannot contain NULL values
- DolphinDB: How to solve the error The number of partitions [xxxx] relevant to the query is too large?
- How to retrieve the row/column names of a matrix in DolphinDB?
- How to boost the data distribution speed of stream tables in DolphinDB?
- How to rename multiple columns?
- Fail to run overly long DolphinDB scripts with Python API
- asof join returns empty for unmatched partitioned data
- How to quickly create an empty wide table in DolphinDB?
Related Questions in DATA-TRANSFORM
- Transforming Data from columns to Row Based on a particular Column and group in Pandas
- Make number representation selectable in matrix visual for specific values in Power BI
- I want to group the data and transform it into different format in mogodb
- r randomly assign 1 or 0 based on conditons
- How do I aggregate an array of maps in Java Spark
- Calculate a difference measure in Power BI based on two selected dates
- Dynamic year-values when creating a customized column in power bi depending on the actual year
- Nested loop to several arrays with jolt library
- r create a new Indicator column based on combination of variables
- How to match mean and standard deviation of 2 datasets for data that cannot be less than 0 in MATLAB
- Data Transformation DSL
- extract integers from characters in R
- Neither PowerTransformer nor QuantileTransformer is working for a feature
- Collapse a dataframe based on virtual grid
- Join multiple tables in Azure Data Factory to create a structure with an embedded array field?
Related Questions in LOAD-CSV
- How to convert date column from INT to DATE type in large CSV files?
- Incredibly Long load time for Load CSV in Neo4j Desktop
- Neo4j LOAD CSV..when CSV columns contains a list of properties
- Load CSV into Neo4j from local path without modifying config
- Use Dictionary (key) as input from user , then from same Dictionary load .csv files(value)
- calling a @classmethod within __init__
- In Neo4j Cypher, How to iterate using LOAD CSV, UNWIND/FOREACH and WITH clauses?
- redisgraph-bulk-loader returns with IndexError
- Neo4j loading csv for a very long time
- How can we load an s3 directory with 1000s of part files in neo4j
- redisgraph-bulk-loader issues with huge data in csv file
- Create Relationship between each Node in Array while using LOAD CSV
- Efficient way to import multiple csv's in neo4j
- converting a value to datetime in load csv in cypher
- Neo4j load csv performance issues
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?
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)
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: