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

Use relative paths in Storages #8382

Merged
merged 7 commits into from Dec 26, 2019
Merged

Use relative paths in Storages #8382

merged 7 commits into from Dec 26, 2019

Conversation

tavplubix
Copy link
Member

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Non-significant (changelog entry is not needed)

Detailed description (optional):
Part of #7512
It's needed to remove database and table name from path to data

@@ -54,7 +53,7 @@ namespace
/* Recursive directory listing with matched paths as a result.
* Have the same method in StorageHDFS.
*/
std::vector<std::string> listFilesWithRegexpMatching(const std::string & path_for_ls, const std::string & for_match)
static std::vector<std::string> listFilesWithRegexpMatching(const std::string & path_for_ls, const std::string & for_match)
Copy link
Member

Choose a reason for hiding this comment

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

They are already in anonymous namespace) static is not required.

@alesapin
Copy link
Member

2019-12-25 22:01:05 00995_exception_while_insert: [ FAIL ] 600.01 sec. - Timeout!
Doesn't seem to be related to changes.

@alesapin
Copy link
Member

It's slightly sad, that now we have to pass Context around, even more, when we need just a fixed global path. But it's OK for now, we will fix it when Context will be split into different entities.

@alesapin alesapin merged commit 093d56f into master Dec 26, 2019
@tavplubix tavplubix deleted the relative_paths_in_storages branch December 27, 2019 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants