-
Notifications
You must be signed in to change notification settings - Fork 137
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
Add helpText to requires #373
Add helpText to requires #373
Conversation
@nyurik thanks for cleaning up! I didn't used
If you want to throw the Exception with |
Oh, i didn't think about that... do you think it would be possible to print last N surrounding lines instead of just the one line with We could of course make it into a single line, but it won't be as readable i think? |
I suspect it will be far simpler to edit the import-sql -- and do all the error detection there. This way we can even capture things with |
P.S. i think once we update the |
It would be much cleaner to do this in The result was that i switched to the Makefile with |
I think I will do #376 - rewrite |
Thanks! It looks great! |
Add
helpText
tolayer.requires
like discussed in openmaptiles/openmaptiles#1220I had to change from
SELECT 'osm_ocean_polygon'::regclass;
toPERFORM 'osm_ocean_polygon'::regclass;
because plpgsql needs a return value ifSELECT
is used.Also added an error if a function has no arguments:
Example:
SQL:
Result of
make import-sql
: