add filter functions to support query on blob