satisfy credo

This commit is contained in:
ruslandoga 2024-04-03 16:32:43 +08:00
parent ab6f70c79e
commit bb0b228164

View File

@ -44,12 +44,12 @@ defmodule Plausible.Imported.CSVImporter do
s3_structure = input_structure!(table)
s3_structure_cols_expr =
String.split(s3_structure, ",", trim: true)
|> Enum.map(fn kv ->
s3_structure
|> String.split(",", trim: true)
|> Enum.map_join(", ", fn kv ->
[col, _type] = String.split(kv)
col
end)
|> Enum.join(", ")
statement =
"""