Hi, I realised that by default I could not use the REGEXP keyword/function of sqlite because it requires a user-defined function to work. This patch solves the problem and allows to do:
pysqldf("""
SELECT count(*)
FROM tweets
WHERE NOT date REGEXP '^[0-9]{4}-[0-9]{2}-[0-9]{2}'
LIMIT 10
""")
It's a fairly simple patch, let me know what you think or if it requires any changes.
Hi, I realised that by default I could not use the REGEXP keyword/function of sqlite because it requires a user-defined function to work. This patch solves the problem and allows to do:
It's a fairly simple patch, let me know what you think or if it requires any changes.