Skip to content

Commit

Permalink
Disable checking for non-constant columns
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHodson committed Mar 11, 2024
1 parent 32bb190 commit 852efec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/odc/core/Table.cc
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,11 @@ Span Table::span(const std::vector<std::string>& columns, bool onlyConstants) {

// We don't decode non-constant columns unless allowed to

if (!nonConstantColumns.empty() && onlyConstants) {
std::stringstream ss;
ss << "Non-constant columns required in span: " << nonConstantColumns;
throw UserError(ss.str(), Here());
}
// if (!nonConstantColumns.empty() && onlyConstants) {
// std::stringstream ss;
// ss << "Non-constant columns required in span: " << nonConstantColumns;
// throw UserError(ss.str(), Here());
// }

if (!nonConstantColumns.empty()) {
s.extend(decodeSpan(nonConstantColumns));
Expand Down

0 comments on commit 852efec

Please sign in to comment.