Open knutole opened 8 years ago
What is better, to have an FTP folder that is automatically imported and periodically checked and updated? Or to keep existing structure of importing, and simply finding new files in FTP folder?
They intersect somewhat: having a cube id + ftp folder, the script in any case needs to check for latest files...
Updated Wu.CubeLayer after updating cube...
cube
is a dataset, upon many layers can be created. When changing cube
, all corresponding layers should be updated with latest cube... (Better solution is ofc to store cube_id
only on Layer, and request each time... More timeconsuming, but cleaner.)
Current solution: Create endpoint @ engine
for updating cube, which will search through all Wu.Layers that has cube and replace this cube string.
Simplest solution: add layer_id
to ftp script dataset config, and update this layer with new cube.
Script for pulling data from FTP server
ftp
replace-datasets