pillar icon indicating copy to clipboard operation
pillar copied to clipboard

Add tuple conversion support

Open alex88 opened this issue 2 years ago • 1 comments

Would it make sense to add elixir to clickhouse tuple support? I was able to get it working locally by adding

  def convert(param) when is_tuple(param) do
    values = param
    |> Tuple.to_list()
    |> Enum.map_join(",", &convert/1)

    "(#{values})"
  end

alex88 avatar May 26 '22 03:05 alex88

If there is no such check, then there is no problem.

Would you add this conversion?

sofakingworld avatar May 30 '22 06:05 sofakingworld

Is solving in https://github.com/balance-platform/pillar/pull/63

sofakingworld avatar Mar 12 '23 10:03 sofakingworld

Solved and added in 0.36.0

sofakingworld avatar Mar 15 '23 18:03 sofakingworld