amazon s3 - How to generate a unique (random) output path in Pig? -


is possible generate unique output folder (s3 bucket), maybe contacting random number of sort?

this workaround case, concatenate current timestamp:

%declare cts `date +"%s"` store data '/path/$cts' using pigstorage(); 

im not familiar s3, above example show idea of concatenating random string unique path.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -