spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yang shun <>
Subject Re: For the same data source in two SQLs, how to read it once?
Date Wed, 09 Sep 2020 08:06:47 GMT
> You can do this by creating a temporary table.
1.Ensure that all fields are included and cached as a dataset when the data
is first pulled(age、sex、other...)
2.When outputting to different tables, select different fields of the
cached dataset.

View raw message