Skip to content

Commit 03d4ada

Browse files
committed
fix: Fix spelling of parquet
1 parent 35ab100 commit 03d4ada

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

osm_rawdata/importer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def importThread(
118118
db.execute(sql)
119119
# db.commit()
120120

121-
def parquatThread(
121+
def parquetThread(
122122
data: list,
123123
db: Connection,
124124
):
@@ -325,7 +325,7 @@ def importParquet(
325325
chunk = round(entries / cores)
326326

327327
if entries <= chunk:
328-
resut = parquatThread(data, connections[0])
328+
resut = parquetThread(data, connections[0])
329329
timer.stop()
330330
return True
331331

@@ -334,7 +334,7 @@ def importParquet(
334334
block = 0
335335
while block <= entries:
336336
log.debug("Dispatching Block %d:%d" % (block, block + chunk))
337-
result = executor.submit(parquatThread, data[block : block + chunk], connections[index])
337+
result = executor.submit(parquetThread, data[block : block + chunk], connections[index])
338338
block += chunk
339339
index += 1
340340
executor.shutdown()

0 commit comments

Comments
 (0)