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

Allow configuring locale in the Faker connector #24152

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

nineinchnick
Copy link
Member

@nineinchnick nineinchnick commented Nov 17, 2024

Description

Allow configuring locale in the Faker connector.

Release notes

## Faker
* Allow configuring locale via the `faker.locale` config property. ({issue}`24152`)

@raunaqmorarka raunaqmorarka merged commit 0b4e466 into trinodb:master Nov 18, 2024
18 checks passed
@github-actions github-actions bot added this to the 465 milestone Nov 18, 2024
@nineinchnick nineinchnick deleted the faker-locale branch November 18, 2024 07:57
@@ -21,6 +21,7 @@ For example, to generate data in the `generator` catalog, create the file
connector.name=faker
faker.null-probability=0.1
faker.default-limit=1000
faker.locale=pl-PL
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well.. thats kinda a bad example if the default is just "en" ... maybe we should add more examples then .. like en-CA or whatever

@@ -46,6 +47,9 @@ The following table details all general configuration properties:
that allows them. Defaults to `0.5`.
* - `faker.default-limit`
- Default number of rows in a table. Defaults to `1000`.
* - `faker.locale`
- Default locale for generating character based data, specified as a IETF BCP
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

character-based

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants