I created a new storage plug-in (copying the system defined 'cp' definition), 
and I am now trying to changes the configuration.

First, enable/disable plug-in action is not having any effect.

Second, when I shutdown the embedded engine, and make manual changes to the 
xxxx.sys.drill file in my C:\tmp\drill\sys.storage_plugins folder, the changes 
are only partially accepted.

This is definition in the xxxx.sys.drill file:

    {
      "type" : "file",
      "connection" : "file:///",
      "config" : null,
      "workspaces" : {
          "CSVFiles": {
              "location": "d:/drill/CSVFiles/",
              "writeable": false
          },
          "ParquetFiles": {
              "location": "d:/drill/ParquetFiles/",
              "writeable": true
          }
      },
      "formats" : {...

This is what the WebUI is displaying

    {
      "type": "file",
      "connection": "file:///",
      "config": null,
      "workspaces": {
        "csvfiles": {
          "location": "d:/drill/CSVFiles/",
          "writable": false,
          "defaultInputFormat": null,
          "allowAccessOutsideWorkspace": false
        },
        "parquetfiles": {
          "location": "d:/drill/ParquetFiles/",
          "writable": false,
          "defaultInputFormat": null,
          "allowAccessOutsideWorkspace": false
        }
      },
      "formats": {

Note: the  "parquetfiles" | "writable" are different.

Finally, trying to edit the "parquetfiles" | "writable" via the WebUI plugin 
configuration editor but the changes are not being saved/don't have any effect.

What am I doing wrong?


Sean

Reply via email to