-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is there any solution to get last record from stdout? #151
Comments
Hello, @makkaba I think that I don't understand your use case completely yet. Another idea.
in:
type: postgresql
host: localhost
port: 5432
user: user
password: ****
database: embulk_test
table: incremental_test
incremental: true
incremental_columns:
- id
out:
type: stdout
It output stdout like the following and create diff.yml file.
diff.yml in:
last_record: [3]
out: {} The number |
thank you for your reply. last record = 300000 i have already used diff.yaml file and dynamic yaml file. every time yaml file is generated like this.
but now, i want to get returned value by stdout or programatic return for some reason. (but output must be mysql.) when i deal output with mysql, stdout will be kind of this.. ********************************** INFORMATION ********************************** java.lang.RuntimeException: java.nio.file.NoSuchFileException: sample.yaml i just want to share use case. |
Embulk provides EmbulkEmbed that allows us to execute Embulk from Java program. Unfortunately, this mechanism is intended to be executed from Java, not Python. |
EmbulkEmbed would be helpful. |
hi i am jeff
i am now using embulk with little weird way.
is there any better way to get last record?
or to call embulk in code way? not in bash way?
thanks
The text was updated successfully, but these errors were encountered: