Skip to content
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

cannot set format of random data #4

Open
canalun opened this issue Jun 23, 2022 · 1 comment
Open

cannot set format of random data #4

canalun opened this issue Jun 23, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@canalun
Copy link
Owner

canalun commented Jun 23, 2022

what happened/is happening

sqloth does not support setting format of data.

why that's a problem

sqloth cannot be used for test using pseudo user data until this issue is resolved

solution hypothesis

  • consider what kind of setting specifically we should support
    • prefix, suffix?
    • randomize method, e.g. uuid?
    • by column?
    • sample data, e.g. zipcode, personal name?
  • what is good way to set format?
    • yml? json?
  • implement
@canalun canalun added the enhancement New feature or request label Jun 24, 2022
@canalun
Copy link
Owner Author

canalun commented May 8, 2023

would be great if users can set format to columns.

For example, by using json...

[
  {
    "column": XXX,
    "format": firstName
  },
  {
    "column": YYY,
    "format": address
  },
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant