CDC study associates restaurant dining with increased risk of COVID-19 positivity. It used self-reporting among four other limitations e.g. it did not ask if people were indoors or outside when they ate. No correlation can be drawn.

Medical Mythbusting Commentary for September 16, 2020

Source:
People who tested positive for COVID-19 were twice as likely to have dined at a restaurant: CDC study

Reference:
Community and Close Contact Exposures Associated with COVID-19 Among Symptomatic Adults ≥18 Years in 11 Outpatient Health Care Facilities — United States, July 2020