It happened just before 3 a.m. on MacArthur Boulevard near 82nd Avenue. When officers arrived a number of suspects left the area.
Police say one suspect inside a car fired multiple times at a patrol car hitting it. Neither of the officers inside the car was hurt.
Police have not said what items were stolen.
It's not clear if this incident is related to other recent robberies across the Bay Area.
RELATED STORIES & VIDEOS:
- SF residents, business owners upset over recent looting incidents
- Video shows decimated San Francisco Louis Vuitton store after massive smash-and-grab robbery
- 'Unacceptable': Mayor Breed says changes will be coming to SF after brazen Union Square robbery
- 3 arrested, firearm recovered from Walnut Creek Nordstrom store looting involving 80 people: Police
- Witness recounts Concord jewelry smash and grab heist that wiped out nearly entire store