'Visual Studio 2019 Professional IDE icons missing after installation
My tech support gave me the VS 2019 professional exe. I ran the exe as an administrator but I don't see any of the VS IDE icons loaded. I am not sure whats the issue, can it be the VPN network that is preventing the download of the icons. I also disconnected VPN and a fresh installation but no luck. Please help me as I am stuck on this for past 2 days.
Solution 1:[1]
Please try using the Visual Studio Installer's "Repair" feature to ensure all components are installed correctly.
If that doesn't work, use the "Report a Problem" feature in VS itself to report the issue to Microsoft so someone can investigate.
Solution 2:[2]
I was able to get this working, issue was related to wrong OneDrive configured by the admin team, once he changed the OneDrive configuration everything is working as expected
Solution 3:[3]
There are various ways to do it. One of the ways is mentioned below: You can extract the Date from Path and the filter is based on the 7 Days.
Below is a code snippet for pyspark, the same can be implemented in Spark with Scala.
>>> from datetime import datetime, timedelta
>>> from pyspark.sql.functions import *
#Calculate date 7 days before date
>>> lastDate = datetime.now() + timedelta(days=-7)
>>> lastDate = int(lastDate.strftime('%Y%m%d'))
# Source Path
>>> srcPath = "s3://<bucket-name>/.../Source/"
>>> df1 = spark.read.option("header", "true").csv(srcPath + "*/*").withColumn("Date", split(regexp_replace(input_file_name(), srcPath, ""),"/")[0].cast("long"))
>>> df2 = df1.filter(col("Date") >= lit(lastDate))
There are few things that might change in your final implementation, such as Index value [0] that might differ if the path structure is different and the last, the condition >= that can be > based on the requirement.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Drew Noakes |
| Solution 2 | sajesh Nambiar |
| Solution 3 | Nikhil Suthar |

