데이터 탐색기에서 빈 매개변수 값 허용 방법?

필터링 단계를 선택적으로 만들려고 합니다. 하지만 query 필드를 비워 두면 다음 오류가 발생합니다:

---[params]
--- string :query = '%'
select uh.details 
from user_histories uh
where uh.details like case 
      when :query is not null then '%' || :query || '%'
      else '%'
      end
limit 5

오류: DataExplorer::ValidationError: Missing parameter query of type string

3개의 좋아요