{"action":"created","issue":{"url":"https://api.github.com/repos/dimitri/pgloader/issues/363","repository_url":"https://api.github.com/repos/dimitri/pgloader","labels_url":"https://api.github.com/repos/dimitri/pgloader/issues/363/labels{/name}","comments_url":"https://api.github.com/repos/dimitri/pgloader/issues/363/comments","events_url":"https://api.github.com/repos/dimitri/pgloader/issues/363/events","html_url":"https://github.com/dimitri/pgloader/issues/363","id":141391476,"number":363,"title":"Error \"Argument Y is not a NUMBER\" with data only option","user":{"login":"rahul-coatue","id":6118030,"avatar_url":"https://avatars.githubusercontent.com/u/6118030?v=3","gravatar_id":"","url":"https://api.github.com/users/rahul-coatue","html_url":"https://github.com/rahul-coatue","followers_url":"https://api.github.com/users/rahul-coatue/followers","following_url":"https://api.github.com/users/rahul-coatue/following{/other_user}","gists_url":"https://api.github.com/users/rahul-coatue/gists{/gist_id}","starred_url":"https://api.github.com/users/rahul-coatue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahul-coatue/subscriptions","organizations_url":"https://api.github.com/users/rahul-coatue/orgs","repos_url":"https://api.github.com/users/rahul-coatue/repos","events_url":"https://api.github.com/users/rahul-coatue/events{/privacy}","received_events_url":"https://api.github.com/users/rahul-coatue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-16T20:22:38Z","updated_at":"2016-03-17T01:22:16Z","closed_at":null,"body":"#### Config without data only\r\nThis works just fine\r\n```\r\nLOAD database\r\n  FROM  mysql://user:pass@localhost/test\r\n  INTO  postgresql://user:pass@localhost/test\r\n  WITH  create no tables, create no indexes, include no drop, reset sequences, no foreign keys, downcase identifiers, quote identifiers\r\n  SET   maintenance_work_mem to '512MB', work_mem to '128MB'\r\n;\r\n```\r\n\r\n#### Config with data only\r\nThrows the following exception\r\n```\r\nLOAD database\r\n  FROM  mysql://user:pass@localhost/test\r\n  INTO  postgresql://user:pass@localhost/test\r\n  WITH  create no tables, create no indexes, include no drop, reset sequences, no foreign keys, downcase identifiers, quote identifiers, data only\r\n  SET   maintenance_work_mem to '512MB', work_mem to '128MB'\r\n;\r\n```\r\n\r\n#### Exception:\r\n\r\n```\r\n2016-03-16T13:19:03.024000-07:00 LOG Main logs in '/private/tmp/pgloader/pgloader.log'\r\n2016-03-16T13:19:03.027000-07:00 LOG Data errors in '/private/tmp/pgloader/'\r\n2016-03-16T13:19:03.028000-07:00 LOG Parsing commands from file #P\"postgres/pgloader.conf\"\r\nAn unhandled error condition has been signalled: Argument Y is not a NUMBER: NIL\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dimitri/pgloader/issues/comments/197635930","html_url":"https://github.com/dimitri/pgloader/issues/363#issuecomment-197635930","issue_url":"https://api.github.com/repos/dimitri/pgloader/issues/363","id":197635930,"user":{"login":"rahul-coatue","id":6118030,"avatar_url":"https://avatars.githubusercontent.com/u/6118030?v=3","gravatar_id":"","url":"https://api.github.com/users/rahul-coatue","html_url":"https://github.com/rahul-coatue","followers_url":"https://api.github.com/users/rahul-coatue/followers","following_url":"https://api.github.com/users/rahul-coatue/following{/other_user}","gists_url":"https://api.github.com/users/rahul-coatue/gists{/gist_id}","starred_url":"https://api.github.com/users/rahul-coatue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahul-coatue/subscriptions","organizations_url":"https://api.github.com/users/rahul-coatue/orgs","repos_url":"https://api.github.com/users/rahul-coatue/repos","events_url":"https://api.github.com/users/rahul-coatue/events{/privacy}","received_events_url":"https://api.github.com/users/rahul-coatue/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T01:22:16Z","updated_at":"2016-03-17T01:22:16Z","body":"Am I doing something wrong? Please help"}}