{"html_url": "https://github.com/simonw/datasette/issues/327#issuecomment-584657949", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/327", "id": 584657949, "node_id": "MDEyOklzc3VlQ29tbWVudDU4NDY1Nzk0OQ==", "user": {"value": 1055831, "label": "dazzag24"}, "created_at": "2020-02-11T14:21:15Z", "updated_at": "2020-02-11T14:21:15Z", "author_association": "NONE", "body": "See https://github.com/simonw/datasette/issues/657 and my changes that allow datasette to load parquet files ", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 335200136, "label": "Explore if SquashFS can be used to shrink size of packaged Docker containers"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/657#issuecomment-576759416", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/657", "id": 576759416, "node_id": "MDEyOklzc3VlQ29tbWVudDU3Njc1OTQxNg==", "user": {"value": 1055831, "label": "dazzag24"}, "created_at": "2020-01-21T16:20:19Z", "updated_at": "2020-01-21T16:20:19Z", "author_association": "NONE", "body": "Hi,\r\n\r\nI've completed some changes to my fork of datasette that allows it to automatically create the parquet virtual table when you supply it with a filename that has the \".parquet\" extension.\r\n\r\nI had to figure out how to make the \"CREATE VIRTUAL TABLE\" statement only be applied to the fake in memory parquet database and not to any others that were also being loaded. Thus it supports mixed mode databases e.g\r\n\r\n```\r\ndatasette my_test.parquet normal_sqlite_file.db --load-extension=libparquet.so --load-extensio\r\nn=mod_spatialite.so\r\n```\r\n\r\nPlease see my changes here: \r\nhttps://github.com/dazzag24/datasette/commit/8e18394353114f17291fd1857073b1e0485a1faf\r\n\r\nThanks\r\n\r\n\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 548591089, "label": "Allow creation of virtual tables at startup"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/657#issuecomment-575321322", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/657", "id": 575321322, "node_id": "MDEyOklzc3VlQ29tbWVudDU3NTMyMTMyMg==", "user": {"value": 1055831, "label": "dazzag24"}, "created_at": "2020-01-16T20:01:43Z", "updated_at": "2020-01-16T20:01:43Z", "author_association": "NONE", "body": "I have successfully tested datasette using a parquet VIRTUAL TABLE. In the first terminal:\r\n\r\n```datasette airports.db --load-extension=libparquet```\r\n\r\nIn another terminal I load the same sqlite db file using the sqlite3 cli client.\r\n\r\n```$ sqlite3 airports.db```\r\n\r\nand then load the parquet extension and create the virtual table.\r\n\r\n```\r\nsqlite> .load /home/darreng/metars/libparquet\r\nsqlite> CREATE VIRTUAL TABLE mytable USING parquet('/home/xx/data.parquet');\r\n```\r\n\r\nNow the parquet virtual table is usable by the datasette web UI.\r\n\r\nIts not an ideal solution but is a proof that datasette works the parquet extension.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 548591089, "label": "Allow creation of virtual tables at startup"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/411#issuecomment-519065799", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/411", "id": 519065799, "node_id": "MDEyOklzc3VlQ29tbWVudDUxOTA2NTc5OQ==", "user": {"value": 1055831, "label": "dazzag24"}, "created_at": "2019-08-07T12:00:36Z", "updated_at": "2019-08-07T12:00:36Z", "author_association": "NONE", "body": "Hi,\r\nApologies for the long delay.\r\n\r\nI tried your suggesting escaping approach:\r\n`SELECT a.pos AS rank, b.id, b.name, b.country, b.latitude AS latitude, b.longitude AS longitude, a.distance / 1000.0 AS dist_km FROM KNN AS a LEFT JOIN airports AS b ON (b.rowid = a.fid)WHERE f_table_name = 'airports' AND ref_geometry = MakePoint(:Long || \", \" || :Lat) AND max_items = 6;\r\n`\r\nand it returns this error:\r\n`wrong number of arguments to function MakePoint()`\r\n\r\nAnything else you suggest I try?\r\nThanks", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 410384988, "label": "How to pass named parameter into spatialite MakePoint() function"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/401#issuecomment-455520561", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/401", "id": 455520561, "node_id": "MDEyOklzc3VlQ29tbWVudDQ1NTUyMDU2MQ==", "user": {"value": 1055831, "label": "dazzag24"}, "created_at": "2019-01-18T11:48:13Z", "updated_at": "2019-01-18T11:48:13Z", "author_association": "NONE", "body": "Thanks. I'll take a look at your changes.\r\nI must admit I was struggling to see how to pass info from the python code in __init__.py into the javascript document.addEventListener function.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 400229984, "label": "How to pass configuration to plugins?"}, "performed_via_github_app": null}