-
Notifications
You must be signed in to change notification settings - Fork 611
Allow order parameter to be string value #893
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
Conversation
concat::fragment accepts either a string or integer as order parameter value. Numeric ordering doesn't work once converted to string filenames: 20 sequential fragments for example | Numeric (no padding) | String (0 Zero Padded) | |----------------------|------------------------| | 10_fragment | 001_fragment | | 11_fragment | 002_fragment | | ... | | | 19_fragment | 010_fragment | | 1_fragment | 011_fragment | | 20_fragment | 012_fragment | | 2_fragment | 013_fragment | | 3_fragment | 014_fragment | Order has gone to pot...
|
Yes please. |
|
@derbious Hadn't noticed the ordering 'fix' in that file. I opened this PR because the current release didn't work with my existing configuration. RFC: Making order an integer deviates from concat::fragment allowing both integer and string? |
concat::fragment accepts either a string or integer as order parameter value. Numeric ordering doesn't work once converted to string filenames: 20 sequential fragments for example | Numeric (no padding) | String (0 Zero Padded) | |----------------------|------------------------| | 10_fragment | 001_fragment | | 11_fragment | 002_fragment | | ... | | | 19_fragment | 010_fragment | | 1_fragment | 011_fragment | | 20_fragment | 012_fragment | | 2_fragment | 013_fragment | | 3_fragment | 014_fragment | Order has gone to pot... @derbious adding rspec tests to check manage_pg_hba_conf w/ acls removing unneeded test
|
@matonb Merged, thank you! |
* Allow order parameter to be string value concat::fragment accepts either a string or integer as order parameter value. Numeric ordering doesn't work once converted to string filenames: 20 sequential fragments for example | Numeric (no padding) | String (0 Zero Padded) | |----------------------|------------------------| | 10_fragment | 001_fragment | | 11_fragment | 002_fragment | | ... | | | 19_fragment | 010_fragment | | 1_fragment | 011_fragment | | 20_fragment | 012_fragment | | 2_fragment | 013_fragment | | 3_fragment | 014_fragment | Order has gone to pot... * Allow order parameter to be string value concat::fragment accepts either a string or integer as order parameter value. Numeric ordering doesn't work once converted to string filenames: 20 sequential fragments for example | Numeric (no padding) | String (0 Zero Padded) | |----------------------|------------------------| | 10_fragment | 001_fragment | | 11_fragment | 002_fragment | | ... | | | 19_fragment | 010_fragment | | 1_fragment | 011_fragment | | 20_fragment | 012_fragment | | 2_fragment | 013_fragment | | 3_fragment | 014_fragment | Order has gone to pot... @derbious adding rspec tests to check manage_pg_hba_conf w/ acls removing unneeded test
* Allow order parameter to be string value concat::fragment accepts either a string or integer as order parameter value. Numeric ordering doesn't work once converted to string filenames: 20 sequential fragments for example | Numeric (no padding) | String (0 Zero Padded) | |----------------------|------------------------| | 10_fragment | 001_fragment | | 11_fragment | 002_fragment | | ... | | | 19_fragment | 010_fragment | | 1_fragment | 011_fragment | | 20_fragment | 012_fragment | | 2_fragment | 013_fragment | | 3_fragment | 014_fragment | Order has gone to pot... * Allow order parameter to be string value concat::fragment accepts either a string or integer as order parameter value. Numeric ordering doesn't work once converted to string filenames: 20 sequential fragments for example | Numeric (no padding) | String (0 Zero Padded) | |----------------------|------------------------| | 10_fragment | 001_fragment | | 11_fragment | 002_fragment | | ... | | | 19_fragment | 010_fragment | | 1_fragment | 011_fragment | | 20_fragment | 012_fragment | | 2_fragment | 013_fragment | | 3_fragment | 014_fragment | Order has gone to pot... @derbious adding rspec tests to check manage_pg_hba_conf w/ acls removing unneeded test
concat::fragment accepts either a string or integer as order parameter value.
Numeric ordering doesn't work once converted to string filenames:
20 sequential fragments for example
Order has gone to pot...