Skip to content

Instantly share code, notes, and snippets.

@erasmas
Created December 26, 2014 15:20
Show Gist options
  • Select an option

  • Save erasmas/cbc348b3c95d961a9b19 to your computer and use it in GitHub Desktop.

Select an option

Save erasmas/cbc348b3c95d961a9b19 to your computer and use it in GitHub Desktop.
Why combined query doesn't have :available-fields? #cascalog
(let [source1 [[1 2 3]]
source2 [[4 5 6]]
fields ["?a" "?b" "?c"]
query (combine
(<- fields
(source1 :>> fields))
(<- fields
(source2 :>> fields)))]
(:available-fields query))
=> nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment