Enums§
- ErrMsg
Type πThe error type for hint display Currently we will try invalid parameter first Then try to find non-existent functions
Constants§
- DEFAULT_
ERR_ πMSG - FUNCTION_
KEYWORD πUsed for detecting non-existent function - PROMPT πUsed for hint display
- Used for detecting invalid parameters
Functions§
- Create a mock
udf_context
, which is used for semantic check - Extract the target name to hint display according to the type of the error message item
- find_
target πFind the pattern for better hint display return the exact index where the pattern first appears - validate_
err_ πmsg Validate the error message to see if itβs possible to improve the display to users