You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to repeated unescape original data destroyed and failed to be parsed
from infi.clickhouse_orm import Database, Memory, fields, models
class Test(models.Model):
field = fields.ArrayField(fields.StringField())
engine = Memory()
db = Database('demo')
db.drop_table(Test)
db.create_table(Test)
test = Test(field=["']"])
db.insert([test])
print("Data inserted. Trying to select... Infinite loop...")
for test in db.select("SELECT * FROM test", model_class=Test):
print(test.field)
Due to repeated unescape original data destroyed and failed to be parsed
from infi.clickhouse_orm import Database, Memory, fields, models
class Test(models.Model):
field = fields.ArrayField(fields.StringField())
db = Database('demo')
db.drop_table(Test)
db.create_table(Test)
test = Test(field=["']"])
db.insert([test])
print("Data inserted. Trying to select... Infinite loop...")
for test in db.select("SELECT * FROM test", model_class=Test):
print(test.field)
Fix #198
The text was updated successfully, but these errors were encountered: