question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] date format in path_prefix

See original GitHub issue

I want to output files by embulk everyday and add datetime in output files. For example, I want the output file name to be sample_20180530.csv when I execute embulk on March 30, 2018, but there’s no function in current embulk.

Here is example yaml:

in:
  ....
out:
  type: file
  path_prefix: '/tmp/out/sample_%Y%m%d' # here
  sequence_format: ''
  formatter: {type: csv, header_line: true, charset: UTF-8, newline: CRLF}

The other way is using liquid file, but I don’t want use liquid file.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
hiroyuki-satocommented, May 31, 2018

Hello, @shigemk2

Sorry. My explanation is not enough. I want sequence_format to be empty because I want to output only one file.

#501 might help as a workaround. Also related to #546.

in:
  type: file
  sequence_format: ''
  # ...snip
exec:
  min_output_tasks: 1
0reactions
dmikurubecommented, Aug 19, 2020

Please read it.

But at least, it does not seem related to this issue #1018.

Then, I’d suggest to file an Issue on the repository of the expected plugin, not this embulk repository.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature Request Date Format %B in Filename - FireShot
I like to create filenames with date stamp like 20211014 Oct 14, 2021 so I have machine sorting correctly and human readable date...
Read more >
<data> | Android Developers
These attributes that specify the URL format are optional, ... The pathPrefix attribute specifies a partial path that is matched against only the...
Read more >
Documentation | NestJS - A progressive Node.js framework
Nest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript and combines ...
Read more >
Published date fields store time in UTC - ArcGIS Online
Enter dates in MM/DD/YYYY hh:mm:ss format ... You can add date values to feature layers using the date and time drop-down menus in...
Read more >
list-roles — AWS CLI 1.27.27 Command Reference
Lists the IAM roles that have the specified path prefix. If there are none, ... The date and time, in ISO 8601 date-time...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found