Explorar o código

[indexer] Use tdate instead of date when choosing types

Abraham Elmahrek %!s(int64=11) %!d(string=hai) anos
pai
achega
c640bf22dd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      desktop/libs/indexer/src/indexer/utils.py

+ 1 - 1
desktop/libs/indexer/src/indexer/utils.py

@@ -103,7 +103,7 @@ def get_field_types(row):
   test_fns = [('int', int),
               ('float', float),
               ('boolean', test_boolean),
-              ('date', test_timestamp)]
+              ('tdate', test_timestamp)]
   field_types = []
   for field in row:
     field_type = None