Skip to content

Commit 7bbfebb

Browse files
committed
fixes
1 parent bb28599 commit 7bbfebb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Choose and download the [database dump](https://archive.org/download/stackexchan
3737

3838
### Extract
3939

40-
Extract archive(s) content file(s) to the directory from where you will convert files using `7z` or another archiver.
40+
Extract archive(s) content file(s) to the directory from where you will convert XML files.
4141

4242
Example with [academia.stackexchange.com.7z](https://archive.org/download/stackexchange/academia.stackexchange.com.7z) dump:
4343
```shell

converter/converter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func convertXMLFile(wg *sync.WaitGroup, typeName string, xmlFilePath string, csv
116116
log.Printf("[%s]. Error: %s. Skipping the file.", typeName, err)
117117
} else {
118118
log.Printf("[%s] File is converted. %s of %s row(s) has been processed successfully",
119-
typeName, humanize.Comma(total), humanize.Comma(converted))
119+
typeName, humanize.Comma(converted), humanize.Comma(total))
120120
}
121121
wg.Done()
122122
}

schema_example/postgresql_ddl.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
-- Schema does not include any kind of indexes
33

44
-- Users
5-
CREATE TABLE IF NOT EXISTS users (
5+
CREATE TABLE users (
66
id SERIAL PRIMARY KEY,
77
account_id INTEGER,
88
reputation INTEGER NOT NULL,

0 commit comments

Comments
 (0)