You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the suggestions that came up in PR: #1590 was to update the validation check in TemplatePartition to a compile time macro:
assert(
partitionFields.size == "%s".r.findAllIn(template).length,
"Number of partition fields %s does not correspond to template (%s)".format(partitionFields, template))
One of the potential options might look something like: https://gist.github.com/xuwei-k/4991805
I think we'll also need to extend this to handle template strings that are passed as variables.
The text was updated successfully, but these errors were encountered:
Actually, I am not sure how to do this now... We can look at a literal string in the code, but getting the size of the partitionFields at compile time would be a pretty big pain.
One of the suggestions that came up in PR: #1590 was to update the validation check in TemplatePartition to a compile time macro:
One of the potential options might look something like: https://gist.github.com/xuwei-k/4991805
I think we'll also need to extend this to handle template strings that are passed as variables.
The text was updated successfully, but these errors were encountered: