Skip to content

Commit 55f9856

Browse files
committed
Document --epoch-millis (LongDateFormatter) in the README
1 parent 32ac282 commit 55f9856

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,12 @@ To get a complete list of the arguments, pass `--help` to the JAR file:
136136
./tools/run.py ./target/ldbc_snb_datagen_${PLATFORM_VERSION}-${DATAGEN_VERSION}.jar -- --format parquet --scale-factor 0.003 --mode bi
137137
```
138138

139+
* Use epoch milliseconds encoded as longs (née `LongDateFormatter`) for serializing date and datetime values:
140+
141+
```bash
142+
./tools/run.py ./target/ldbc_snb_datagen_${PLATFORM_VERSION}-${DATAGEN_VERSION}.jar -- --format csv --scale-factor 0.003 --mode bi --epoch-millis
143+
```
144+
139145
* For the `interactive` and `bi` formats, the `--format-options` argument allows passing formatting options such as timestamp/date formats, the presence/abscence of headers (see the [Spark formatting options](https://spark.apache.org/docs/2.4.8/api/scala/index.html#org.apache.spark.sql.DataFrameWriter) for details), and whether quoting the fields in the CSV required:
140146

141147
```bash

0 commit comments

Comments
 (0)